mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 08:17:18 +08:00
Merge a7748ff4e9
into 3e06d0f16a
This commit is contained in:
commit
0564431885
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ class Administration extends SugarBean
|
|||
return;
|
||||
}
|
||||
|
||||
$categoryQuoted = $this->db->quote($category);
|
||||
$categoryQuoted = $this->db->quoted($category);
|
||||
|
||||
// declare a cache for all settings
|
||||
$settings_cache = sugar_cache_retrieve('admin_settings_cache');
|
||||
|
@ -132,7 +132,7 @@ class Administration extends SugarBean
|
|||
}
|
||||
|
||||
if (!empty($category)) {
|
||||
$query = "SELECT category, name, value FROM {$this->table_name} WHERE category = '$categoryQuoted'";
|
||||
$query = "SELECT category, name, value FROM {$this->table_name} WHERE category = $categoryQuoted";
|
||||
} else {
|
||||
$query = "SELECT category, name, value FROM {$this->table_name}";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue