Add space between if and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
namespace MailPoet\Models;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class NewsletterOption extends Model {
|
||||
public static $_table = MP_NEWSLETTER_OPTION_TABLE;
|
||||
|
||||
static function createOrUpdate($data = array()) {
|
||||
if(!is_array($data) || empty($data['newsletter_id']) || empty($data['option_field_id'])) {
|
||||
if (!is_array($data) || empty($data['newsletter_id']) || empty($data['option_field_id'])) {
|
||||
return;
|
||||
}
|
||||
return parent::_createOrUpdate($data, array(
|
||||
|
Reference in New Issue
Block a user