Aurelijus преди 14 години
родител
ревизия
e2492a4879
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/RequestListener.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/RequestListener.php

@@ -110,7 +110,7 @@ class RequestListener
             if (null !== $this->logger) {
                 $this->logger->err($message);
             }
-            throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e, 0);
+            throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
         }
     }
 }