[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tep-commits
Subject:    [TEP-COMMIT] CVS: catalog/catalog index.php,1.4,1.5
From:       Mark Evans <project3000 () users ! sourceforge ! net>
Date:       2004-01-10 20:59:55
Message-ID: E1AfQD5-0002EM-00 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/tep/catalog/catalog
In directory sc8-pr-cvs1:/tmp/cvs-serv8563

Modified Files:
	index.php 
Log Message:
Fix strpos call as reported in bug 1458

Index: index.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index.php	17 Nov 2003 21:04:11 -0000	1.4
+++ index.php	10 Jan 2004 20:59:53 -0000	1.5
@@ -77,7 +77,7 @@
             <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
               <tr>
 <?php
-    if (isset($cPath) && strpos('_', $cPath)) {
+    if (isset($cPath) && strpos($cPath, '_')) {
 // check to see if there are deeper categories within the current category
       $category_links = array_reverse($cPath_array);
       for($i=0, $n=sizeof($category_links); $i<$n; $i++) {



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Tep-commits mailing list
Tep-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tep-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic