[geeklog-cvs] geeklog-1.3/public_html/admin user.php,1.74,1.75

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Sun Jun 6 21:24:27 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv774/public_html/admin

Modified Files:
	user.php 
Log Message:
Fixed logic with Error Message in function changepw(). No output would have been seen and the script would exit with no output. It's an unlikely error condition anyways - found it while doing another modification.

Index: user.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/user.php,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -d -r1.74 -r1.75
*** user.php	15 May 2004 13:02:21 -0000	1.74
--- user.php	7 Jun 2004 01:24:24 -0000	1.75
***************
*** 218,223 ****
      } else {
          $retval .= COM_siteHeader('menu');
!         COM_errorLog("CHANGEPW ERROR: There was nothing to do!",3);
          $retval .= COM_siteFooter();
      }
  }
--- 218,225 ----
      } else {
          $retval .= COM_siteHeader('menu');
!         $retval .= COM_errorLog("CHANGEPW ERROR: There was nothing to do!",3);
          $retval .= COM_siteFooter();
+         echo $retval;
+         exit;
      }
  }




More information about the geeklog-cvs mailing list