bug #4500 mysql_doc_template is not defined

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-07-30 10:40:47 -04:00
parent 82187c0224
commit b3f2c433fc
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ phpMyAdmin - ChangeLog
- bug #4493 s_attention.png is missing
- bug #4499 Uncaught TypeError: Cannot call method 'substr' of undefined
- bug #4498 PMA 4.2.x and HHVM
- bug #4500 mysql_doc_template is not defined
4.2.6.0 (2014-07-17)
- bug #4471 Undefined index warning with referenced column.

View File

@ -1526,6 +1526,10 @@ function catchKeypressesFromSqlTextboxes(event) {
*/
function PMA_doc_add($elm, params)
{
if (typeof mysql_doc_template == 'undefined') {
return;
}
var url = $.sprintf(
mysql_doc_template,
params[0]