Permalink
Browse files

Case of engine may differ (thanks to LuKo)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1105 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent f5dddb2 commit 0355c922df4db7d0b744dd771f5eee2080399a98 jakubvrana committed Sep 13, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 adminer/create.inc.php
View
@@ -140,6 +140,13 @@
if ($suhosin && count($row["fields"]) > $suhosin) {
echo "<p class='error'>" . h(lang('Maximum number of allowed fields exceeded. Please increase %s and %s.', 'suhosin.post.max_vars', 'suhosin.request.max_vars')) . "\n";
}
+// case of engine may differ
+foreach ($engines as $engine) {
+ if (!strcasecmp($engine, $row["Engine"])) {
+ $row["Engine"] = $engine;
+ break;
+ }
+}
?>
<form action="" method="post" id="form">

0 comments on commit 0355c92

Please sign in to comment.