Change TRUE, FALSE, NULL capitalization to lowercase
This commit is contained in:
@ -148,7 +148,7 @@ EOL;
|
|||||||
}, explode(';', trim($rules[$index]))));
|
}, explode(';', trim($rules[$index]))));
|
||||||
|
|
||||||
// check if we have multiple selectors
|
// check if we have multiple selectors
|
||||||
if(strpos($selector, ',') !== FALSE) {
|
if(strpos($selector, ',') !== false) {
|
||||||
$selectors_array = array_filter(array_map(function($value) {
|
$selectors_array = array_filter(array_map(function($value) {
|
||||||
return trim($value);
|
return trim($value);
|
||||||
}, explode(',', $selector)));
|
}, explode(',', $selector)));
|
||||||
@ -175,4 +175,4 @@ EOL;
|
|||||||
$this->stripComments();
|
$this->stripComments();
|
||||||
return $this->render();
|
return $this->render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,7 @@ class Subscriber extends Model {
|
|||||||
$subscriber = self::findOne($subscriber->id);
|
$subscriber = self::findOne($subscriber->id);
|
||||||
|
|
||||||
// restore deleted subscriber
|
// restore deleted subscriber
|
||||||
if($subscriber->deleted_at !== NULL) {
|
if($subscriber->deleted_at !== null) {
|
||||||
$subscriber->setExpr('deleted_at', 'NULL');
|
$subscriber->setExpr('deleted_at', 'NULL');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -708,4 +708,4 @@ class Subscriber extends Model {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user