summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-11-02 21:12:56 (GMT)
committer Daniel Wehner2011-11-02 21:12:56 (GMT)
commit984e54c7078139adca3f0406367e17f02d423dcc (patch)
tree4a1a6329df8937628158832070846c0b234c3646
parentdb50cdc367b3c8d610aea8debf4bda96429883b6 (diff)
by dereine: Add missing parameter for db_safe()6.x-3.0-rc2
-rw-r--r--includes/handlers.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/handlers.inc b/includes/handlers.inc
index a90047f..9bcba88 100644
--- a/includes/handlers.inc
+++ b/includes/handlers.inc
@@ -1639,7 +1639,7 @@ class views_join {
// And now deal with the value and the operator. Set $q to
// a single-quote for non-numeric values and the
// empty-string for numeric values, then wrap all values in $q.
- $raw_value = $this->db_safe($info['value']);
+ $raw_value = $this->db_safe($info['value'], $info);
$q = (empty($info['numeric']) ? "'" : '');
if (is_array($raw_value)) {
@@ -1681,7 +1681,7 @@ class views_join {
* so something that needs floats in their joins needs to do their
* own type checking.
*/
- function db_safe($input) {
+ function db_safe($input, $info) {
if (is_array($input)) {
$output = array();
foreach ($input as $value) {