Skip to content

Commit

Permalink
Fix invalid method param
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dna committed Nov 7, 2019
1 parent 16339b0 commit 7272ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PurgeURLTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PurgeURLTask extends PurgeTask

protected $param_url = array();

public function run($request)
public function run($request = null)
{
$url = $request->getVar('purge_url');
if (!$url) {
Expand Down

0 comments on commit 7272ea4

Please sign in to comment.