Skip to content

Commit 0335db0

Browse files
committed
Fix Deprecated warning in System - Privacy Consent plugin
1 parent 3865393 commit 0335db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/system/privacyconsent/privacyconsent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function onAfterRoute()
285285
}
286286

287287
$option = $this->app->input->getCmd('option');
288-
$task = $this->app->input->get('task');
288+
$task = $this->app->input->get('task', '');
289289
$view = $this->app->input->getString('view', '');
290290
$layout = $this->app->input->getString('layout', '');
291291
$id = $this->app->input->getInt('id');

0 commit comments

Comments
 (0)