aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/entities.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 85c68c1b6..b1613c1d1 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2165,7 +2165,7 @@
global $CONFIG;
$entity_guid = (int) $entity_guid;
$name = mysql_real_escape_string($name);
- if ($setting = get_data_row("select value from {$CONFIG->prefix}private_settings where name = '{$name}' and entity_guid = {$entity_guid}")) {
+ if ($setting = get_data_row("select value from {$CONFIG->dbprefix}private_settings where name = '{$name}' and entity_guid = {$entity_guid}")) {
return $setting->value;
}
return false;
@@ -2182,7 +2182,7 @@
$entity_guid = (int) $entity_guid;
- $result = get_data("select * from {$CONFIG->prefix}private_settings where entity_guid = {$entity_guid}");
+ $result = get_data("select * from {$CONFIG->dbprefix}private_settings where entity_guid = {$entity_guid}");
if ($result)
{
$return = array();
@@ -2210,7 +2210,7 @@
$entity_guid = (int) $entity_guid;
$name = mysql_real_escape_string($name);
$value = mysql_real_escape_string($value);
- return insert_data("insert into {$CONFIG->prefix}private_settings set name = '{$name}', value = '{$value}' where entity_guid = {$entity_guid}");
+ return insert_data("insert into {$CONFIG->dbprefix}private_settings set name = '{$name}', value = '{$value}' where entity_guid = {$entity_guid}");
}
@@ -2227,7 +2227,7 @@
global $CONFIG;
$entity_guid = (int) $entity_guid;
$name = mysql_real_escape_string($name);
- return delete_data("delete from {$CONFIG->prefix}private_settings where name = '{$name}' and entity_guid = {$entity_guid}");
+ return delete_data("delete from {$CONFIG->dbprefix}private_settings where name = '{$name}' and entity_guid = {$entity_guid}");
}
@@ -2242,7 +2242,7 @@
global $CONFIG;
$entity_guid = (int) $entity_guid;
- return delete_data("delete from {$CONFIG->prefix}private_settings where entity_guid = {$entity_guid}");
+ return delete_data("delete from {$CONFIG->dbprefix}private_settings where entity_guid = {$entity_guid}");
}
/**