diff --git a/include/application.php b/include/application.php index 9fe2ab3..b93562e 100644 --- a/include/application.php +++ b/include/application.php @@ -742,7 +742,14 @@ class Application { { /* is this user supposed to view this version? */ if(!$_SESSION['current']->canViewApplication($this)) - objectManager::error_exit("You do not have permission to view this entry"); + { + $sError = 'You do not have permission to view this entry'; + + if($this->objectGetState() == 'deleted') + $sError = 'This entry has been deleted; it\'s contents may have been moved to another entry'; + + objectManager::error_exit($sError); + } // cat display $oCategory = new Category($this->iCatId); diff --git a/tables/create_tables b/tables/create_tables old mode 100644 new mode 100755