- Removes space between (int) and variable

This commit is contained in:
Vlad
2016-05-18 09:23:50 -04:00
parent 8540c51679
commit bf1ab3a593
17 changed files with 31 additions and 31 deletions

View File

@@ -28,8 +28,8 @@ class NewsletterTemplate extends Model {
static function createOrUpdate($data = array()) {
$template = false;
if(isset($data['id']) && (int) $data['id'] > 0) {
$template = self::findOne((int) $data['id']);
if(isset($data['id']) && (int)$data['id'] > 0) {
$template = self::findOne((int)$data['id']);
}
if($template === false) {