Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 02:00:18 +02:00
parent 33b10d6746
commit adc74dc1d8
18 changed files with 64 additions and 29 deletions

View File

@@ -228,8 +228,10 @@ class Session_Handler
public function get_session_prefs($key)
{
$datas = $this->storage()->get('temp_prefs');
if (isset($datas[$key]))
if (isset($datas[$key])) {
return $datas[$key];
}
return null;
}
@@ -248,6 +250,7 @@ class Session_Handler
} elseif ($default_value !== null) {
return $default_value;
}
return null;
}