From: brettp Date: Sat, 24 Oct 2009 21:18:55 +0000 (+0000) Subject: Slight code cleanup. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9706785797c06f1fb3a04ee8022749b473457a85;p=lorea%2Felgg.git Slight code cleanup. git-svn-id: http://code.elgg.org/elgg/trunk@3577 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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();