aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-09 15:11:47 -0800
committerFriendika <info@friendika.com>2010-11-09 15:11:47 -0800
commitf7c0480f1b69c44d5daf47d343aaba44ebd26ec2 (patch)
tree20765a582cf3e781cf670103686f31e68686081d /include/items.php
parentc50f491c3dd6df917c86d8074ebfdba22f96558d (diff)
downloadvolse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.tar.gz
volse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.tar.bz2
volse-hubzilla-f7c0480f1b69c44d5daf47d343aaba44ebd26ec2.zip
use raw db queries wherever query items could contain '%'
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index c10701b67..20f843613 100644
--- a/include/items.php
+++ b/include/items.php
@@ -550,7 +550,7 @@ function item_store($arr) {
logger('item_store: ' . print_r($arr,true), LOGGER_DATA);
- $r = q("INSERT INTO `item` (`"
+ $r = dbq("INSERT INTO `item` (`"
. implode("`, `", array_keys($arr))
. "`) VALUES ('"
. implode("', '", array_values($arr))