Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-04-23 10:47:24 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-04-23 10:47:24 +0300
commit05c85533459cd55b560d75cf5fc14aa65f9ef81f (patch)
treef03d8961afbc652b55a60df8102c7683f4648a53 /view_create.php
parentc6d21e3c1649f30a190c3f3561fa6eeefc26d34e (diff)
Max length for view names
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'view_create.php')
-rw-r--r--view_create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view_create.php b/view_create.php
index fc28ac3edb..86ac4c5cf5 100644
--- a/view_create.php
+++ b/view_create.php
@@ -228,7 +228,7 @@ $htmlString .= '<select>'
if ($view['operation'] == 'create') {
$htmlString .= '<tr><td class="nowrap">' . __('VIEW name') . '</td>'
. '<td><input type="text" size="20" name="view[name]"'
- . ' onfocus="this.select()"'
+ . ' onfocus="this.select()" maxlength="64"'
. ' value="' . htmlspecialchars($view['name']) . '" />'
. '</td></tr>';
} else {