Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bug #3521313 [core] Call to undefined function __()

(backport part of fix from 6a2afed)
  • Loading branch information...
commit 060a16f4481f50b071de8d8ae10198d18ca7de34 1 parent 8cfe396
@lem9 lem9 authored
Showing with 5 additions and 1 deletion.
  1. +1 −0  ChangeLog
  2. +4 −1 libraries/Config.class.php
View
1  ChangeLog
@@ -3,6 +3,7 @@ phpMyAdmin - ChangeLog
3.5.2.0 (not yet released)
- bug #3521416 [interface] JS error when editing index
+- bug #3521313 [core] Call to undefined function __()
3.5.1.0 (not yet released)
- bug #3510784 [edit] Limit clause ignored when sort order is remembered
View
5 libraries/Config.class.php
@@ -724,7 +724,10 @@ function checkConfigSource()
if (! is_readable($this->getSource())) {
$this->source_mtime = 0;
die(
- sprintf(__('Existing configuration file (%s) is not readable.'),
+ sprintf(
+ function_exists('__')
+ ? __('Existing configuration file (%s) is not readable.')
+ : 'Existing configuration file (%s) is not readable.',
$this->getSource()
)
);
Please sign in to comment.
Something went wrong with that request. Please try again.