Przeglądaj źródła

[ZF-10023] Zend_Amf_Server->_handle() sometimes uses uninitialized variable (resulting in PHP notice in AMF response)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23896 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 14 lat temu
rodzic
commit
4e84de5255
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      library/Zend/Amf/Server.php

+ 1 - 0
library/Zend/Amf/Server.php

@@ -510,6 +510,7 @@ class Zend_Amf_Server implements Zend_Server_Interface
         {
             try {
                 if ($handleAuth) {
+                    $message = '';
                     if ($this->_handleAuth(
                         $headers[Zend_Amf_Constants::CREDENTIALS_HEADER]->userid,
                         $headers[Zend_Amf_Constants::CREDENTIALS_HEADER]->password)) {