|
10 | 10 | See pmwiki.php for full details and lack of warranty.
|
11 | 11 | */
|
12 | 12 |
|
13 |
| -$RecipeInfo['ExtensionHub']['Version'] = '2024-08-13'; |
| 13 | +$RecipeInfo['ExtensionHub']['Version'] = '2024-08-13a'; |
14 | 14 | SDVA($FmtPV, [
|
15 | 15 | '$ExtHubVersion' => '$GLOBALS["RecipeInfo"]["ExtensionHub"]["Version"]',
|
16 | 16 | '$ExtPubDirUrl' => 'extFarmPubDirUrl()',
|
@@ -516,7 +516,7 @@ function extGetIncluded($pagename = '') { # ''=initial
|
516 | 516 | elseif($pagename !== '' && $conf['xPriority']>100) {
|
517 | 517 | foreach($conf['=conf'] as $a) {
|
518 | 518 | if (!$a['xEnabled']) continue;
|
519 |
| - $pat = $a['xNamePatterns']; |
| 519 | + $pat = preg_replace('/[,\\s]+/', ',', $a['xNamePatterns']); |
520 | 520 | if($pat === '*' || $pat === '*.*' || MatchNames($pagename, $pat)) {
|
521 | 521 | $priority = $conf['xPriority']<=200
|
522 | 522 | ? 1+$conf['xPriority']/100
|
@@ -736,7 +736,7 @@ function FmtExtList($pagename, $d, $args) {
|
736 | 736 | ? $xHub['StatusIcons']['active']
|
737 | 737 | : $xHub['StatusIcons']['inactive'];
|
738 | 738 |
|
739 |
| - $np = preg_replace('!\\s+!', ' ', $a['xNamePatterns']); |
| 739 | + $np = preg_replace('/[,\\s]+/', ',', $a['xNamePatterns']); |
740 | 740 | $select .= "(:input select i $i \"$icon $np\":)";
|
741 | 741 | $j = $i+1;
|
742 | 742 | }
|
|
0 commit comments