]> git.datanom.net - qtadmin.git/commitdiff
More functions for wblist page
authorMichael Rasmussen <mir@datanom.net>
Thu, 25 Jun 2015 18:09:15 +0000 (20:09 +0200)
committerMichael Rasmussen <mir@datanom.net>
Thu, 25 Jun 2015 18:09:15 +0000 (20:09 +0200)
wblist.php

index 51cc681405473657cf95cfa455c84a6bed761b06..00093f2e0837370cefc7a45d3a76f9bb476f3cc6 100644 (file)
@@ -16,6 +16,9 @@
         if (count($raw) < 1) {
             return '';
         }
+        if (! is_object($raw[0])) {
+            return "<p>{$raw[0]}</p>";
+        }
         $headers = createHeader($raw[0]);
         $r = "<table><tr>$headers</tr>";
         $i = 1;
This page took 0.030128 seconds and 5 git commands to generate.