mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-25 12:19:11 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -32,7 +32,7 @@ class StringContainsToken implements TokenInterface
|
||||
|
||||
public function scoreArgument($argument)
|
||||
{
|
||||
return strpos($argument, $this->value) !== false ? 6 : false;
|
||||
return is_string($argument) && strpos($argument, $this->value) !== false ? 6 : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user