small warning fix about db lvl collation vars when creating DB on pg < 84
authorGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Sun, 13 Sep 2009 14:00:08 +0000 (10:00 -0400)
committerGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Sun, 13 Sep 2009 14:00:08 +0000 (10:00 -0400)
all_db.php

index b2b515b38cadbac4978882e9a5d9453364473f7d..d074714a6f31e61f8f741c21ee3342f738938189 100644 (file)
                // Default comment to blank if it isn't set
                if (!isset($_POST['formComment'])) $_POST['formComment'] = null;
 
+               // Default collate to blank if it isn't set
+               if (!isset($_POST['formCollate'])) $_POST['formCollate'] = null;
+
+               // Default ctype to blank if it isn't set
+               if (!isset($_POST['formCType'])) $_POST['formCType'] = null;
+
                // Check that they've given a name and a definition
                if ($_POST['formName'] == '') doCreate($lang['strdatabaseneedsname']);
                else {