mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-24 16:09:40 +01:00
Fix for deprecated PHP features
Update encodeUrlQuery to make method static and prevent errors related to call non static method in static way
This commit is contained in:
parent
a428c95eaf
commit
0f84e8e754
@ -1856,7 +1856,7 @@ class TCPDF_STATIC {
|
||||
* @since 6.3.3 (2019-11-01)
|
||||
* @public static
|
||||
*/
|
||||
public function encodeUrlQuery($url) {
|
||||
public static function encodeUrlQuery($url) {
|
||||
$urlData = parse_url($url);
|
||||
if (isset($urlData['query']) && $urlData['query']) {
|
||||
$urlQueryData = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user