tools/flutter_sqlite.php
authorAlan Knowles <alan@roojs.com>
Thu, 18 Apr 2019 07:20:04 +0000 (15:20 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Apr 2019 07:20:04 +0000 (15:20 +0800)
tools/flutter_sqlite.php

index b5a8701..818088c 100644 (file)
@@ -475,8 +475,8 @@ class fsql {
             //var_dump($cn->nodeName);
             switch($cn->nodeName) {
                 case 'dt': // look for name
-                    $name = $this->getElementsByClassName($ct->ownerDocument,'name',$cn)->item(0)->textContent;
-                    
+                    $name = $this->getElementsByClassName($cn->ownerDocument,'name',$cn)->item(0)->textContent;
+                    var_Dump($name);
                     $n = array(
                         'type' => 'enum-value',
                         'parent_id' => $o['id'],