From: Marcel Werk Date: Thu, 9 Apr 2020 20:02:34 +0000 (+0200) Subject: Fixed incorrect detection of numerics X-Git-Tag: 5.2.6~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23f2df0227a6b6993024ab0f6b0b80dafea91b0b;p=GitHub%2FWoltLab%2FWCF.git Fixed incorrect detection of numerics --- diff --git a/wcfsetup/install/files/lib/system/importer/PageImporter.class.php b/wcfsetup/install/files/lib/system/importer/PageImporter.class.php index d53e442e26..74ffe89c38 100644 --- a/wcfsetup/install/files/lib/system/importer/PageImporter.class.php +++ b/wcfsetup/install/files/lib/system/importer/PageImporter.class.php @@ -57,7 +57,7 @@ class PageImporter extends AbstractImporter { } // check old id - if (is_numeric($oldID)) { + if (ctype_digit((string)$oldID)) { $page = new Page($oldID); if (!$page->pageID) $data['pageID'] = $oldID; }