From: vincent@cubedesigners.com Date: Thu, 5 Nov 2020 16:53:24 +0000 (+0000) Subject: wait #4041 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f4f58ed59b5d02d1d8b268ea0f5edea4a523aa7f;p=cubeextranet.git wait #4041 @0.5 --- diff --git a/inc/ws/Util/class.ws.articles.php b/inc/ws/Util/class.ws.articles.php index 968f12879..09126e186 100644 --- a/inc/ws/Util/class.ws.articles.php +++ b/inc/ws/Util/class.ws.articles.php @@ -104,7 +104,7 @@ class wsArticles if (stristr($fname, '__MACOSX') || stristr($fname, 'ds_store')) { continue; } - if (preg_match('/page(\d+)/u', $fname, $matches)) { + if (preg_match('/page[\-s]*(\d+)/u', $fname, $matches)) { $order = $matches[1] * 1000 + $i; $orderedIndexes[$order] = $i; }