aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 16:19:42 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 16:19:42 +0000
commit3cb0559a580b2738c8aa7de601a495a169aa489e (patch)
treefabe4e2f16fbd15011b2915c7ab39866bd136ba3 /engine
parentcc0c92764582617867483e42d0ca9803206dc36c (diff)
downloadelgg-3cb0559a580b2738c8aa7de601a495a169aa489e.tar.gz
elgg-3cb0559a580b2738c8aa7de601a495a169aa489e.tar.bz2
Not possible to get any more, so tell them so
git-svn-id: https://code.elgg.org/elgg/trunk@2416 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 5f5c97107..0ff9b2d26 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1507,7 +1507,7 @@
if (isset($DATALIST_CACHE[$name]))
return $DATALIST_CACHE[$name];
- if ($row = get_data_row("SELECT value from {$CONFIG->dbprefix}datalists where name = '{$name}'")) {
+ if ($row = get_data_row("SELECT value from {$CONFIG->dbprefix}datalists where name = '{$name}' limit 1")) {
$DATALIST_CACHE[$name] = $row->value;
return $row->value;
}