eguvenc / php-amqplib

Automatically exported from code.google.com/p/php-amqplib
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Undefined variable: METHOD_NAME_MAP #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

PHP Notice:  Undefined variable: METHOD_NAME_MAP in .../php-amqplib/amqp.inc on 
line 239

Solution: Add the line shown below.

                 unset($this->method_queue[$qk]);
+                global $METHOD_NAME_MAP;
                 debug_msg("Executing queued method: $method_sig: " .
                           $METHOD_NAME_MAP[methodSig($method_sig)]);

Original issue reported on code.google.com by quasikeith on 1 Nov 2010 at 11:47

GoogleCodeExporter commented 9 years ago
commited. thanks!

Original comment by kroko...@gmail.com on 3 Nov 2010 at 3:14

GoogleCodeExporter commented 9 years ago
commited. thanks!

Original comment by kroko...@gmail.com on 3 Nov 2010 at 3:14