From 22e6ed21411ae161f270237157f67e0c4e6c6ef4 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Fri, 20 Apr 2007 11:39:00 +0000 Subject: [PATCH] cosmetic --- include/diogenes/diogenes.database.table.inc.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/diogenes/diogenes.database.table.inc.php b/include/diogenes/diogenes.database.table.inc.php index 28ded25..7210fd8 100644 --- a/include/diogenes/diogenes.database.table.inc.php +++ b/include/diogenes/diogenes.database.table.inc.php @@ -19,8 +19,8 @@ */ -/** Class for handling operations on MySQL database tables. Upon construction, the class - * probes the table to read its structure. +/** Class for handling operations on MySQL database tables. Upon construction, + * the class probes the table to read its structure. * * @see DiogenesDatabase, DiogenesTableEditor */ @@ -55,8 +55,8 @@ class DiogenesDatabaseTable { break; case "timestamp": case "datetime": - $type = "timestamp"; - break; + $type = "timestamp"; + break; default: $type="text"; } @@ -64,6 +64,7 @@ class DiogenesDatabaseTable { "type" => $type, "value" => $value, "desc" => $name, "sum" => false, "key" => $key, "extra" => $extra, "edit" => true, "show" => true); } + mysql_free_result($res); } } -- 2.1.4