aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/configuration.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-03 13:09:42 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-03 13:09:42 +0000
commit004a0c8a75e8fb71b8ba0c47f000c381c03a2967 (patch)
treeff34fa6b50a89713b20ac46c0fa672428c533a97 /engine/lib/configuration.php
parent05ffc437ef95e84e0438c5b0230b261179b47cca (diff)
downloadelgg-004a0c8a75e8fb71b8ba0c47f000c381c03a2967.tar.gz
elgg-004a0c8a75e8fb71b8ba0c47f000c381c03a2967.tar.bz2
Minor tweaks 'cos case does matter...
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/configuration.php')
-rw-r--r--engine/lib/configuration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php
index 12915cef4..fd242b01a 100644
--- a/engine/lib/configuration.php
+++ b/engine/lib/configuration.php
@@ -75,7 +75,7 @@
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = (int) $CONFIG->site_id;
- if ($result = get_data_row("select value from {$CONFIG->dbprefix}config where name = '{$name}' and site_guid = {$site_guid}")) {
+ if ($result = get_data_row("SELECT value from {$CONFIG->dbprefix}config where name = '{$name}' and site_guid = {$site_guid}")) {
$result = $result->value;
$result = unserialize($result->value);
$CONFIG->$name = $result;
@@ -99,7 +99,7 @@
if ($site_guid == 0)
$site_guid = (int) $CONFIG->site_id;
- if ($result = get_data("select * from {$CONFIG->dbprefix}config where site_guid = {$site_guid}")) {
+ if ($result = get_data("SELECT * from {$CONFIG->dbprefix}config where site_guid = {$site_guid}")) {
foreach ($result as $r)
{
$name = $r->name;