aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/access.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 5bc14fe46..dd8295b9f 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -254,15 +254,16 @@ END;
* @param string $table_prefix Optional table. prefix for the access code.
* @param int $owner
*/
-function get_access_sql_suffix($table_prefix = "", $owner = null) {
+function get_access_sql_suffix($table_prefix = '', $owner = null) {
global $ENTITY_SHOW_HIDDEN_OVERRIDE, $CONFIG;
$sql = "";
$friends_bit = "";
$enemies_bit = "";
- if ($table_prefix)
+ if ($table_prefix) {
$table_prefix = sanitise_string($table_prefix) . ".";
+ }
if (!isset($owner)) {
$owner = get_loggedin_userid();