aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/objects.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r--engine/lib/objects.php2
1 files changed, 1 insertions, 1 deletions
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)
{