Commits

Anonymous committed d79c823

Fixed notice error. Refs #1.

Comments (0)

Files changed (1)

   private function build_option($key, $options)
   {
     $code = $key . ': ';
-    if (!is_array($options[0])) //TODO: Fix this notice
-      $code .= $this->build_properties($options);
+    if (array_key_exists(0, $options))
+      if (!is_array($options[0]))
+        $code .= $this->build_properties($options);
     else
       {
         $code .= '[';