diff --git a/libraries/core.lib.php b/libraries/core.lib.php index 84bca7b6d..7b85d66de 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -695,6 +695,9 @@ function PMA_linkURL($url) { if (!preg_match('#^https?://#', $url) || defined('PMA_SETUP')) { return $url; } else { + if (!function_exists('PMA_generate_common_url')) { + require_once('./libraries/url_generating.lib.php'); + } $params = array(); $params['url'] = $url; return './url.php' . PMA_generate_common_url($params);