Added return false

This commit is contained in:
Tobias Reich 2014-04-30 11:09:28 +02:00
parent 32368d4ba4
commit 091381a2a3
2 changed files with 4 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}