Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-22 12:16:09 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-22 12:16:09 +0400
commit1236b19f5640d0bfab931fb5ca28a8c1d5e6ccc2 (patch)
tree1eec29b540c0b3c0778c97f21611850425c819b9 /plugins/Contents/Actions
parentd079edfc7eaf000e9e9d1f71cf0b7cc12dff6e8c (diff)
refs #4996 just read in the specs only the name is required
Diffstat (limited to 'plugins/Contents/Actions')
-rw-r--r--plugins/Contents/Actions/ActionContent.php3
1 files changed, 1 insertions, 2 deletions
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()