Added return false
This commit is contained in:
parent
32368d4ba4
commit
091381a2a3
@ -58,7 +58,8 @@ class Admin extends Access {
|
||||
case 'getPhotoArchive': $this->getPhotoArchive(); break;
|
||||
|
||||
# Error
|
||||
default: exit('Error: Function not found! Please check the spelling of the called function.'); break;
|
||||
default: exit('Error: Function not found! Please check the spelling of the called function.');
|
||||
return false; break;
|
||||
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,8 @@ class Guest extends Access {
|
||||
case 'getPhotoArchive': $this->getPhotoArchive(); break;
|
||||
|
||||
# Error
|
||||
default: exit('Error: Function not found! Please check the spelling of the called function.'); break;
|
||||
default: exit('Error: Function not found! Please check the spelling of the called function.');
|
||||
return false; break;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user