includes/sessions.php
changeset 221 e5302cb1945c
parent 209 8a00247d1dee
child 227 0eca1498a77b
--- a/includes/sessions.php	Mon Oct 29 23:54:48 2007 -0400
+++ b/includes/sessions.php	Fri Nov 02 20:37:26 2007 -0400
@@ -1324,7 +1324,10 @@
     if($level > USER_LEVEL_CHPREF)
     {
       $aes = new AESCrypt(AES_BITS, AES_BLOCKSIZE);
-      if(!$this->user_logged_in || $this->auth_level < USER_LEVEL_MOD) return 'success';
+      if(!$this->user_logged_in || $this->auth_level < USER_LEVEL_MOD)
+      {
+        return 'success';
+      }
       // Destroy elevated privileges
       $keyhash = md5(strrev($this->sid_super));
       $this->sql('DELETE FROM '.table_prefix.'session_keys WHERE session_key=\''.$keyhash.'\' AND user_id=\'' . $this->user_id . '\';');