LSattribute :: getUpdateData() : Fixed notice PHP
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:46:52 +0000 (19:46 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:46:52 +0000 (19:46 +0100)
public_html/includes/class/class.LSattribute.php

index 7d1583e..39eab10 100644 (file)
@@ -524,7 +524,7 @@ class LSattribute {
       return  $this -> _finalUpdateData;
     }
     $data=$this -> updateData;
-    if ($this -> config['onSave']) {
+    if (isset($this -> config['onSave'])) {
       if (is_array($this -> config['onSave'])) {
         $result=$data;
         foreach($this -> config['onSave'] as $func) {