bug #564741
This commit is contained in:
@@ -13,7 +13,8 @@ $Source$
|
|||||||
* lang/norwegian.inc.php3: Updates, thanks again to
|
* lang/norwegian.inc.php3: Updates, thanks again to
|
||||||
Sven-Erik Andersen <sven-erik at users.sourceforge.net>.
|
Sven-Erik Andersen <sven-erik at users.sourceforge.net>.
|
||||||
* lang/polish.inc.php3: Small corrections, thanks again to
|
* lang/polish.inc.php3: Small corrections, thanks again to
|
||||||
Jakub Wilk <ubanus at users.sourceforge.net>
|
Jakub Wilk <ubanus at users.sourceforge.net>.
|
||||||
|
* tbl_replace.php3: Fixed bug #564741 (CURDATE doesn't need any arguments).
|
||||||
|
|
||||||
2002-06-07 Marc Delisle <lem9@users.sourceforge.net>
|
2002-06-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* translators.html: updates (try to have only one official translator,
|
* translators.html: updates (try to have only one official translator,
|
||||||
|
@@ -219,8 +219,9 @@ else {
|
|||||||
|
|
||||||
if (empty($funcs[$encoded_key])) {
|
if (empty($funcs[$encoded_key])) {
|
||||||
$valuelist .= $val . ', ';
|
$valuelist .= $val . ', ';
|
||||||
} else if ($val == '\'\''
|
} else if (($val == '\'\''
|
||||||
&& (ereg('^(NOW|CURDATE|CURTIME|UNIX_TIMESTAMP|RAND|USER|LAST_INSERT_ID)$', $funcs[$encoded_key]))) {
|
&& ereg('^(UNIX_TIMESTAMP|RAND|LAST_INSERT_ID)$', $funcs[$encoded_key]))
|
||||||
|
|| ereg('^(NOW|CURDATE|CURTIME|USER)$', $funcs[$encoded_key])) {
|
||||||
$valuelist .= $funcs[$encoded_key] . '(), ';
|
$valuelist .= $funcs[$encoded_key] . '(), ';
|
||||||
} else {
|
} else {
|
||||||
$valuelist .= $funcs[$encoded_key] . '(' . $val . '), ';
|
$valuelist .= $funcs[$encoded_key] . '(' . $val . '), ';
|
||||||
|
Reference in New Issue
Block a user