From: Dan W. <kil...@us...> - 2002-05-28 22:36:44
|
Update of /cvsroot/phppgadmin/phpPgAdmin In directory usw-pr-cvs1:/tmp/cvs-serv10762 Modified Files: lib.inc.php Log Message: Fixed bug #550110 -- timestamp wasn't getting quoted correctly Index: lib.inc.php =================================================================== RCS file: /cvsroot/phppgadmin/phpPgAdmin/lib.inc.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** lib.inc.php 28 May 2002 22:10:07 -0000 1.58 --- lib.inc.php 28 May 2002 22:36:40 -0000 1.59 *************** *** 160,164 **** reset($cfgServers); while(list($key, $val) = each($cfgServers)) { ! // Don't use servers with no hostname and not local' if (empty($val['host']) && !$val['local']) { unset($cfgServers[$key]); --- 160,164 ---- reset($cfgServers); while(list($key, $val) = each($cfgServers)) { ! // Don't use servers with no hostname and not local if (empty($val['host']) && !$val['local']) { unset($cfgServers[$key]); *************** *** 574,578 **** } if (!empty($row[rowdefault])) { ! if (eregi("text|name|char|date|timestamp|bool", $row[type])) { //$delim = "'"; } else { --- 574,578 ---- } if (!empty($row[rowdefault])) { ! if (eregi("text|name|char|date|time|bool", $row[type])) { //$delim = "'"; } else { *************** *** 765,769 **** $strEmpty = ""; $strVal = addslashes($strVal); ! } elseif (eregi("date|time|timestamp|inet|bool", $aryType[$iFieldVal])) { if (empty($strVal)) { $strQuote = ""; --- 765,769 ---- $strEmpty = ""; $strVal = addslashes($strVal); ! } elseif (eregi("date|time|inet|bool", $aryType[$iFieldVal])) { if (empty($strVal)) { $strQuote = ""; |