Commit 81c852ef authored by Andrei Mateescu's avatar Andrei Mateescu
Browse files

Issue #3316832 by Nayan Sarkar, apaderno: strpos(): Passing null to parameter...

Issue #3316832 by Nayan Sarkar, apaderno: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
parent 21a6103e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class EntityQueueSmartQueueArgument extends StringArgument {
   */
  public function setArgument($arg) {
    $queue = $this->options['smartqueue'];
    if (strpos($arg, $queue) !== 0) {
    if ($arg && strpos($arg, $queue) !== 0) {
      $arg = $queue . '__' . $arg;
    }
    return parent::setArgument($arg);