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/objects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/objects.php') diff --git a/engine/lib/objects.php b/engine/lib/objects.php index aaf873b19..0bbcf1bb9 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -256,7 +256,7 @@ if ($row) { // Core entities row exists and we have access to it - if ($exists = get_data_row("select guid from {$CONFIG->dbprefix}objects_entity where guid = {$guid}")) { + if ($exists = get_data_row("SELECT guid from {$CONFIG->dbprefix}objects_entity where guid = {$guid}")) { $result = update_data("UPDATE {$CONFIG->dbprefix}objects_entity set title='$title', description='$description' where guid=$guid"); if ($result!=false) { -- cgit v1.2.3