Fix #15589 - TwigFunction broken
Introduced-by: 3255e4ad7b
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
360a7e2000
commit
054418f1ae
@ -5147,7 +5147,7 @@ Functions.configGet = function (key, cached) {
|
||||
};
|
||||
|
||||
/**
|
||||
* Return POST data as stored by Util::linkOrButton
|
||||
* Return POST data as stored by Generator::linkOrButton
|
||||
*/
|
||||
Functions.getPostData = function () {
|
||||
var dataPost = this.attr('data-post');
|
||||
|
||||
@ -118,7 +118,7 @@ class UtilExtension extends AbstractExtension
|
||||
),
|
||||
new TwigFunction(
|
||||
'get_start_and_number_of_rows_panel',
|
||||
'PhpMyAdmin\Util::getStartAndNumberOfRowsPanel',
|
||||
'PhpMyAdmin\Generator::getStartAndNumberOfRowsPanel',
|
||||
['is_safe' => ['html']]
|
||||
),
|
||||
new TwigFunction(
|
||||
@ -132,12 +132,12 @@ class UtilExtension extends AbstractExtension
|
||||
),
|
||||
new TwigFunction(
|
||||
'link_or_button',
|
||||
'PhpMyAdmin\Util::linkOrButton',
|
||||
'PhpMyAdmin\Generator::linkOrButton',
|
||||
['is_safe' => ['html']]
|
||||
),
|
||||
new TwigFunction(
|
||||
'link_to_var_documentation',
|
||||
'PhpMyAdmin\Util::linkToVarDocumentation',
|
||||
'PhpMyAdmin\Generator::linkToVarDocumentation',
|
||||
['is_safe' => ['html']]
|
||||
),
|
||||
new TwigFunction(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user