diff options
Diffstat (limited to 'includes/database.inc')
-rw-r--r-- | includes/database.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database.inc b/includes/database.inc index 987adbc28..7fca7a2b5 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -146,7 +146,7 @@ function _db_query_callback($match, $init = FALSE) { } switch ($match[1]) { - case '%d': // We must use type casting to int to convert false/null/(true?) + case '%d': // We must use type casting to int to convert FALSE/NULL/(TRUE?) return (int) array_shift($args); // We don't need db_escape_string as numbers are db-safe case '%s': return db_escape_string(array_shift($args)); |