Some functions do not take parameters (bug #1000021).
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2004-08-06 Michal Čihař <michal@cihar.com>
|
||||
* tbl_change.php: Do not free result, we need it later.
|
||||
* tbl_relation.php: Some functions do not take parameters (bug #1000021).
|
||||
|
||||
2004-08-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
(Patches from Michael Keck)
|
||||
|
@@ -130,8 +130,7 @@ foreach ($loop_array AS $primary_key_index => $enc_primary_key) {
|
||||
|
||||
if (empty($me_funcs[$encoded_key])) {
|
||||
$cur_value = $val . ', ';
|
||||
} else if ($val == '\'\''
|
||||
&& (preg_match('@^(NOW|CURDATE|CURTIME|UNIX_TIMESTAMP|RAND|USER|LAST_INSERT_ID)$@', $me_funcs[$encoded_key]))) {
|
||||
} else if (preg_match('@^(NOW|CURDATE|CURTIME|UNIX_TIMESTAMP|RAND|USER|LAST_INSERT_ID)$@', $me_funcs[$encoded_key])) {
|
||||
$cur_value = $me_funcs[$encoded_key] . '(), ';
|
||||
} else {
|
||||
$cur_value = $me_funcs[$encoded_key] . '(' . $val . '), ';
|
||||
|
Reference in New Issue
Block a user