Procházet zdrojové kódy

[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 před 14 roky
rodič
revize
4e84de5255
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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)) {