From 004a0c8a75e8fb71b8ba0c47f000c381c03a2967 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 3 Nov 2008 13:09:42 +0000 Subject: Minor tweaks 'cos case does matter... git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/sites.php') diff --git a/engine/lib/sites.php b/engine/lib/sites.php index 7b02424d5..f7d3407ae 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -270,7 +270,7 @@ if ($row) { // Exists and you have access to it - if ($exists = get_data_row("select guid from {$CONFIG->dbprefix}sites_entity where guid = {$guid}")) { + if ($exists = get_data_row("SELECT guid from {$CONFIG->dbprefix}sites_entity where guid = {$guid}")) { $result = update_data("UPDATE {$CONFIG->dbprefix}sites_entity set name='$name', description='$description', url='$url' where guid=$guid"); if ($result!=false) { -- cgit v1.2.3