[TEP-COMMIT] CVS: catalog/catalog/includes/classes navigation_history.php,1.7,1.8

Harald Ponce de Leon <[email protected]>
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Update of /cvsroot/tep/catalog/catalog/includes/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv777/includes/classes

Modified Files:
	navigation_history.php 
Log Message:
coding standards update


Index: navigation_history.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/includes/classes/navigation_history.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- navigation_history.php	17 Nov 2003 19:17:41 -0000	1.7
+++ navigation_history.php	4 Dec 2003 12:48:04 -0000	1.8
@@ -33,7 +33,7 @@
 
       $set = 'true';
       for ($i=0, $n=sizeof($this->path); $i<$n; $i++) {
-        if ( ($this->path[$i]['page'] == basename($PHP_SELF)) ) {
+        if ($this->path[$i]['page'] == basename($PHP_SELF)) {
           if (isset($cPath)) {
             if (!isset($this->path[$i]['get']['cPath'])) {
               continue;
@@ -56,7 +56,7 @@
               }
             }
           } else {
-            array_splice($this->path, ($i));
+            array_splice($this->path, $i);
             $set = 'true';
             break;
           }



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.