From 1236b19f5640d0bfab931fb5ca28a8c1d5e6ccc2 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Fri, 22 Aug 2014 10:16:09 +0200 Subject: refs #4996 just read in the specs only the name is required --- plugins/Contents/Actions/ActionContent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Contents/Actions') diff --git a/plugins/Contents/Actions/ActionContent.php b/plugins/Contents/Actions/ActionContent.php index 0fba02a698..e018bff3ec 100644 --- a/plugins/Contents/Actions/ActionContent.php +++ b/plugins/Contents/Actions/ActionContent.php @@ -28,10 +28,9 @@ class ActionContent extends Action public static function shouldHandle(Request $request) { - $piece = $request->getParam('c_p'); $name = $request->getParam('c_n'); - return !empty($piece) && !empty($name); + return !empty($name); } protected function getActionsToLookup() -- cgit v1.2.3