Permalink
Browse files

Fixed issue #540 for php7

  • Loading branch information...
phpipam committed Jul 13, 2016
1 parent 48ae2d1 commit 4a9a4023eea1398be3b5212285eb4452d5299222
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/index.php
View
@@ -172,7 +172,7 @@
}
// execute the action
$result = $controller->$_SERVER['REQUEST_METHOD'] ();
$result = $controller->{$_SERVER['REQUEST_METHOD']} ();
} catch ( Exception $e ) {
// catch any exceptions and report the problem

0 comments on commit 4a9a402

Please sign in to comment.