Explorar o código

fix warning

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15565 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas %!s(int64=17) %!d(string=hai) anos
pai
achega
d476963df7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/Zend/Amf/Value/Messaging/AcknowledgeMessage.php

+ 1 - 1
library/Zend/Amf/Value/Messaging/AcknowledgeMessage.php

@@ -52,7 +52,7 @@ class Zend_Amf_Value_Messaging_AcknowledgeMessage extends Zend_Amf_Value_Messagi
         $this->body        = null;
 
         // correleate the two messages
-        if ($message) {
+        if ($message && isset($message->messageId)) {
             $this->correlationId = $message->messageId;
         }
     }