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:
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()