diff --git a/include/objectManager.php b/include/objectManager.php index 549d675..807824b 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -287,7 +287,7 @@ class ObjectManager /* if this is a queue add a dialog for replying to the submitter of the queued entry */ - if($this->bIsQueue) + if($this->bIsQueue || ($oObject->objectGetSubmitterId() && $oObject->objectGetSubmitterId() != $_SESSION['current']->iUserId)) { /* If it isn't implemented, that means there is no default text */ if(method_exists(new $this->sClass, "getDefaultReply")) @@ -299,27 +299,29 @@ class ObjectManager echo '',"\n"; - - ///////////////////////////////////////////////// - // output radio buttons for some common responses - echo ''. - 'Common replies
Email '. - APPDB_OWNER_EMAIL.' if you want to suggest a new common reply.',"\n"; - - // NOTE: We use the label tag so the user can click anywhere in - // the text of the radio button to select the radio button. - // Otherwise the user has to click on the very small circle portion - // of the button to select it - foreach($this->aCommonResponses as $iIndex => $sReply) + if($this->bIsQueue) { - echo '',"\n"; - echo '',"\n"; - echo '',"\n"; + ///////////////////////////////////////////////// + // output radio buttons for some common responses + echo ''. + 'Common replies
Email '. + APPDB_OWNER_EMAIL.' if you want to suggest a new common reply.',"\n"; + + // NOTE: We use the label tag so the user can click anywhere in + // the text of the radio button to select the radio button. + // Otherwise the user has to click on the very small circle portion + // of the button to select it + foreach($this->aCommonResponses as $iIndex => $sReply) + { + echo '',"\n"; + echo '',"\n"; + echo '',"\n"; + } + // end output radio buttons for common responses + ///////////////////////////////////////////////// } - // end output radio buttons for common responses - ///////////////////////////////////////////////// /* buttons for operations we can perform on this entry */