fixed static call to non static

--HG--
branch : rc-botanic-webdev
This commit is contained in:
Botanic 2013-10-23 17:06:42 -07:00
parent 95c5b9e1a8
commit 3dbb08f1d1
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ class WebUsers extends Users{
* check if the user is logged in.
* @return true or false
*/
public function isLoggedIn(){
public static function isLoggedIn(){
if(isset($_SESSION['user'])){
return true;
}

View file

@ -215,7 +215,7 @@ class WebUsers extends Users{
* check if the user is logged in.
* @return true or false
*/
public function isLoggedIn(){
public static function isLoggedIn(){
if(isset($_SESSION['user'])){
return true;
}