]> git.joonet.de Git - adminer.git/commitdiff
Show hash columns
authorJakub Vrana <jakub@vrana.cz>
Sun, 24 Oct 2010 09:43:03 +0000 (11:43 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sun, 24 Oct 2010 09:43:03 +0000 (11:43 +0200)
editor/example.php

index b392a77f85b9ce097ad8de38a57b7237f5e2afe6..e15807d83c17e19e9d60ae01b30bc234f2449282 100644 (file)
@@ -30,7 +30,7 @@ function adminer_object() {
                
                function fieldName($field, $order = 0) {
                        // only columns with comments will be displayed and only the first five in select
-                       return ($order <= 5 && !ereg('_(md5|sha1)$', $field["field"]) ? h($field["comment"]) : "");
+                       return ($order <= 5 ? h($field["comment"]) : "");
                }
                
        }