[SCM] Interchange branch, master, updated. fe9c6bbc54db9d6a7a2006833e5c35e1fdec97ca
Gert van der Spoel <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".
The branch, master has been updated
via fe9c6bbc54db9d6a7a2006833e5c35e1fdec97ca (commit)
from 432924ade348d37a97732326b6a2532de789069d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fe9c6bbc54db9d6a7a2006833e5c35e1fdec97ca
Author: Phil Smith <[email protected]>
Date: Sat Jul 11 21:37:12 2009 +0200
Adding my to $o in GlobalSub ncheck_category
When having AllowGlobal turned on, the SpecialSub ncheck_category, when
called, would return:
Bad Sub 'ncheck_category': Global symbol "$o" requires explicit package
name at (eval 473) line 16, <CONFIG> line 547.
Change '$o = ' to 'my $o = ' solves this.
-----------------------------------------------------------------------
Summary of changes and diff:
dist/standard/catalog.cfg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dist/standard/catalog.cfg b/dist/standard/catalog.cfg
index fe0c0cc..19a6b77 100644
--- a/dist/standard/catalog.cfg
+++ b/dist/standard/catalog.cfg
@@ -700,7 +700,7 @@ sub {
$CGI->{sp} = 'results';
$CGI->{mv_todo} = 'search';
$Tag->update('process');
- if (($o = $Search->{''}) && @{$o->{mv_results}}) {
+ if ((my $o = $Search->{''}) && @{$o->{mv_results}}) {
return (1, $Config->{Special}->{results});
}
hooks/post-receive
--
Interchange