Commits

Anonymous committed d5944d1

bugfixes

Comments (0)

Files changed (1)

 			if ($internal)
 				// internally defined Controller method
 				throw new Exception("Invalid action: '$action'");
-			$method = new ReflectionMethod($this, $sMethod);
+			$method = new ReflectionMethod($this, $action);
 			if (!$method->isPublic() || $action[0] == '_')
 				// method is not public or starts with _
 				throw new Exception("Invalid action: '$action'");