diff options
author | Michal Čihař <michal@cihar.com> | 2016-06-16 15:56:41 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-06-16 15:56:41 +0300 |
commit | a7cd19355474c1a9ea7609c90fdc5d44173b49a1 (patch) | |
tree | 59e8bb3ddee011d0a9b462f02918b50159aefba8 /tbl_operations.php | |
parent | a87c1644356dd33f2642893a863b009e2ebea361 (diff) |
Make it clear whether addMessages expects string or Message object
With this, it's way easier to anaylize code for potential problems with
escaping.
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r-- | tbl_operations.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_operations.php b/tbl_operations.php index 6a6abc4321..d45697c195 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -225,7 +225,7 @@ if (isset($result) && empty($message_to_show)) { } if (! empty($warning_messages)) { $_message = new PMA\libraries\Message; - $_message->addMessages($warning_messages); + $_message->addMessagesString($warning_messages); $_message->isError(true); if (isset($GLOBALS['ajax_request']) && $GLOBALS['ajax_request'] == true |