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:
authorMichal Čihař <michal@cihar.com>2016-06-16 14:41:35 +0300
committerMichal Čihař <michal@cihar.com>2016-06-16 14:41:35 +0300
commit9348d0cb167a3621f9725e70bda7f8cd6b8f5b8f (patch)
tree0944df3e39a5e716229227ee1aa280b48b7197f7 /db_operations.php
parent46e8121e416a1ab1b7a98a4e7690790ac29939ca (diff)
Separate adding HTML markup to message from others
We really want this to be explicit for easier review and hiding this in second parameter of addParam doesn't make it. Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/db_operations.php b/db_operations.php
index ee83a4cdd5..b236ba589d 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -282,12 +282,8 @@ if (!$is_information_schema) {
'%sFind out why%s.'
)
);
- $message->addParam(
- '<a href="'
- . './chk_rel.php' . $url_query . '">',
- false
- );
- $message->addParam('</a>', false);
+ $message->addParamHtml('<a href="./chk_rel.php' . $url_query . '">');
+ $message->addParamHtml('</a>');
/* Show error if user has configured something, notice elsewhere */
if (!empty($cfg['Servers'][$server]['pmadb'])) {
$message->isError(true);