diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-24 21:18:55 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-24 21:18:55 +0000 |
commit | 9706785797c06f1fb3a04ee8022749b473457a85 (patch) | |
tree | 3492c5d6c52eededf5238a23a3c69175142d3d30 | |
parent | 6634ccf99ca8fcdf94ee5ab099fc81ccea669d2f (diff) | |
download | elgg-9706785797c06f1fb3a04ee8022749b473457a85.tar.gz elgg-9706785797c06f1fb3a04ee8022749b473457a85.tar.bz2 |
Slight code cleanup.
git-svn-id: http://code.elgg.org/elgg/trunk@3577 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/access.php | 5 |
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(); |