https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7a1b1
)
r1170: Need to escape the % in %1$s [process_custom_fields()]
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 17 Sep 2006 18:52:25 +0000
(18:52 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 17 Sep 2006 18:52:25 +0000
(18:52 +0000)
includes/functions.php
patch
|
blob
|
history
diff --git
a/includes/functions.php
b/includes/functions.php
index 45a548fe164d72fc66de38fef521c6e7486b2d69..9b730a2c0b61dda237dc20604f0a4bb18b33548b 100755
(executable)
--- a/
includes/functions.php
+++ b/
includes/functions.php
@@
-433,7
+433,7
@@
function process_custom_fields($bugid, $msg, $errorbox = false, $inputdata = arr
return;
}
- $query = "REPLACE INTO " . TABLE_PREFIX . "bugvaluefill (bugid, " . implode(', ', $fieldbuild) . ") VALUES (%1$s, " . implode(', ', $fieldvalue) . ")";
+ $query = "REPLACE INTO " . TABLE_PREFIX . "bugvaluefill (bugid, " . implode(', ', $fieldbuild) . ") VALUES (%1
\
$s, " . implode(', ', $fieldvalue) . ")";
if ($bugid === null)
{
return $query;