X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2Fjobs%2FPublishStashedFileJob.php;h=d2b210715192991bc787b682426bf9840de80b59;hb=45cf5258871867a159c264983e8dc60ed083d9fe;hp=e89812beff108565e75864e555ed3656ad9834b4;hpb=dae4c94d893057345f62a3d498fb85c0a54de5a6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/jobs/PublishStashedFileJob.php b/includes/jobqueue/jobs/PublishStashedFileJob.php index e89812beff..d2b2107151 100644 --- a/includes/jobqueue/jobs/PublishStashedFileJob.php +++ b/includes/jobqueue/jobs/PublishStashedFileJob.php @@ -84,7 +84,7 @@ class PublishStashedFileJob extends Job { $this->params['text'], $this->params['watch'], $user, - isset( $this->params['tags'] ) ? $this->params['tags'] : [] + $this->params['tags'] ?? [] ); if ( !$status->isGood() ) { UploadBase::setSessionStatus(