ispman/ispman-web/cgi-bin/tmpl topmenu.tmpl, 1.13, 1.14

Joerg Delker <[email protected]> Mon, 19 Feb 2007 00:18:38 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28332/ispman-web/cgi-bin/tmpl

Modified Files:
	topmenu.tmpl 
Log Message:
fixed perl warning

Index: topmenu.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/topmenu.tmpl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- topmenu.tmpl	18 Feb 2007 18:25:36 -0000	1.13
+++ topmenu.tmpl	19 Feb 2007 00:18:32 -0000	1.14
@@ -54,7 +54,7 @@
    }
 </perl>
 <perl>
-   if ( $ispman->getConf('customMenuLink') =~ /(.*)\|(.*)/ ) {
+   if ( defined($ispman->getConf('customMenuLink')) && $ispman->getConf('customMenuLink') =~ /(.*)\|(.*)/ ) {
         return qq|<TD valign=top align=right><nobr><a class=$class target="content" href="$1">$2</a></nobr></td>|;
    }
 </perl>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV