graphing/class.graph.php
changeset 44 73f74d395f95
parent 43 ce2e9caf2dfa
--- a/graphing/class.graph.php	Sun Jan 04 16:40:36 2009 -0500
+++ b/graphing/class.graph.php	Mon Jan 05 22:29:36 2009 -0500
@@ -766,7 +766,7 @@
           $this->$func($settings);
         }
       }
-      if (is_array($data['data'])) {
+      if (isset($data['data']) && is_array($data['data'])) {
         $this->data = $data['data'];
       }
     }