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:
Diffstat (limited to 'error.php')
-rw-r--r--error.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/error.php b/error.php
index 56b4f273ca..fc8cbfa16e 100644
--- a/error.php
+++ b/error.php
@@ -59,10 +59,11 @@ header('Content-Type: text/html; charset=' . $charset);
<body>
<h1>phpMyAdmin - <?php echo $type; ?></h1>
<p><?php
-if (get_magic_quotes_gpc())
+if (get_magic_quotes_gpc()) {
echo PMA_sanitize(stripslashes($_REQUEST['error']));
-else
+} else {
echo PMA_sanitize($_REQUEST['error']);
+}
?></p>
</body>
</html>