Compare commits
3 Commits
d826762e9d
...
e80638dd2e
Author | SHA1 | Date |
---|---|---|
osaajani | e80638dd2e | |
osaajani | 7538e2e60d | |
osaajani | 4218b0e353 |
|
@ -69,7 +69,7 @@ use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$result = $this->expression_language->evaluate($condition, $data);
|
@$result = $this->expression_language->evaluate($condition, $data);
|
||||||
|
|
||||||
return (bool) $result;
|
return (bool) $result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -317,6 +317,13 @@ namespace controllers\publics;
|
||||||
|
|
||||||
foreach ($numbers as $key => $number)
|
foreach ($numbers as $key => $number)
|
||||||
{
|
{
|
||||||
|
if (!is_string($number))
|
||||||
|
{
|
||||||
|
unset($numbers[$key]);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$number = \controllers\internals\Tool::parse_phone($number);
|
$number = \controllers\internals\Tool::parse_phone($number);
|
||||||
|
|
||||||
if (!$number)
|
if (!$number)
|
||||||
|
|
Loading…
Reference in New Issue