Commit 3334913b authored by Kevin Stover's avatar Kevin Stover Committed by GitHub

Revert "Add array check." (#2173)

parent 388da412
......@@ -331,10 +331,8 @@ class NF_Abstracts_Model
*/
public function update_settings( $data )
{
if( is_array( $data ) ) {
foreach ($data as $key => $value) {
$this->update_setting($key, $value);
}
foreach( $data as $key => $value ){
$this->update_setting( $key, $value );
}
return $this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment