diff options
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r-- | engine/lib/sites.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |