[Cwispy-devel] cwispy2/admin cwispy-settings.php, 1.23, 1.24 man_customer.php, 1.35, 1.36
Status: Abandoned
Brought to you by:
cwispy
From: Martin J. G. <mor...@us...> - 2008-03-13 18:05:22
|
Update of /cvsroot/cwispy/cwispy2/admin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20773 Modified Files: cwispy-settings.php man_customer.php Log Message: missing '' caused errors in php Index: man_customer.php =================================================================== RCS file: /cvsroot/cwispy/cwispy2/admin/man_customer.php,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- man_customer.php 1 Dec 2007 13:13:14 -0000 1.35 +++ man_customer.php 13 Mar 2008 18:05:12 -0000 1.36 @@ -92,7 +92,7 @@ if(isset($_POST['action']) == 'newuser') { - if (($_POST['first'] == "") && ($_POST[customertype] == 1) OR ($_POST['last'] == "") && ($_POST[customertype] == 2) OR ($_POST['address'] == "") OR ($_POST['city'] == "") OR ($_POST['country'] == "")) { + if (($_POST['first'] == "") && ($_POST['customertype'] == 1) OR ($_POST['last'] == "") && ($_POST['customertype'] == 2) OR ($_POST['address'] == "") OR ($_POST['city'] == "") OR ($_POST['country'] == "")) { echo "<table><form method=\"post\" action='$_SERVER[PHP_SELF]'>\n"; echo "<tr><input type='hidden' name='first' value='$_POST[first]' />\n"; echo "<input type='hidden' name='mid' value='$_POST[mid]' />\n"; Index: cwispy-settings.php =================================================================== RCS file: /cvsroot/cwispy/cwispy2/admin/cwispy-settings.php,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- cwispy-settings.php 30 Nov 2007 13:25:18 -0000 1.23 +++ cwispy-settings.php 13 Mar 2008 18:05:11 -0000 1.24 @@ -17,7 +17,7 @@ $PERSISTENT = "Off"; /* Database Host */ -define('DBHOST','127.0.0.1'); +define('DBHOST','localhost'); /* Database User */ define('DBUSER','cwispy2'); |