diff options
-rw-r--r-- | core/namespace/Item.php | 2 | ||||
-rw-r--r-- | core/namespace/Template/Template.php | 2 | ||||
-rw-r--r-- | system/page/main.php | 2 | ||||
-rw-r--r-- | system/post/main.php | 2 | ||||
-rw-r--r-- | system/user/main.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/core/namespace/Item.php b/core/namespace/Item.php index 6d17011..f3b6ceb 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -28,7 +28,7 @@ abstract class Item implements ItemInterface { # Checking if retrieving data failed #=============================================================================== if(!$this->Attribute = $Statement->fetchObject($attribute)) { - throw new $exception(sprintf('%s\\Item with ID %s does not exists', $this->Reflection->getNamespaceName(), (int) $itemID)); + throw new $exception(sprintf('%s\\Item with ID %s does not exist', $this->Reflection->getNamespaceName(), (int) $itemID)); } } diff --git a/core/namespace/Template/Template.php b/core/namespace/Template/Template.php index 1d1f84f..16459fb 100644 --- a/core/namespace/Template/Template.php +++ b/core/namespace/Template/Template.php @@ -12,7 +12,7 @@ class Template { $this->filename = $filename; if(!file_exists($filename)) { - throw new Exception("Template file \"{$filename}\" does not exists."); + throw new Exception("Template file \"{$filename}\" does not exist."); } } diff --git a/system/page/main.php b/system/page/main.php index fdd5399..ae0ed11 100644 --- a/system/page/main.php +++ b/system/page/main.php @@ -22,7 +22,7 @@ try { $user_data = generateUserItemData($User); #=============================================================================== - # Add post data for previous and next post if exists + # Add post data for previous and next page #=============================================================================== try { $PrevPage = Page\Factory::build($Page->getPrevID()); diff --git a/system/post/main.php b/system/post/main.php index 4322f53..b880bb7 100644 --- a/system/post/main.php +++ b/system/post/main.php @@ -22,7 +22,7 @@ try { $user_data = generateUserItemData($User); #=============================================================================== - # Add post data for previous and next post if exists + # Add post data for previous and next post #=============================================================================== try { $PrevPost = Post\Factory::build($Post->getPrevID()); diff --git a/system/user/main.php b/system/user/main.php index d236b94..56d8239 100644 --- a/system/user/main.php +++ b/system/user/main.php @@ -19,7 +19,7 @@ try { $user_data = generateUserItemData($User); #=============================================================================== - # Add user data for previous and next user if exists + # Add user data for previous and next user #=============================================================================== try { $PrevUser = User\Factory::build($User->getPrevID()); |