Skip to content

Commit

Permalink
fix #24: exclusion des articles ne commençant pas par un n° d'article
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane committed Sep 16, 2013
1 parent 1fd6e71 commit 01b3291
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/class.plx.glob.php
Expand Up @@ -80,6 +80,9 @@ private function initCache($type='') {
elseif(!$this->rep AND !$dir) {
if($type=='arts') {
$index = str_replace('_','',substr($file, 0,strpos($file,'.')));
if(is_numeric($index)) {
$this->aFiles[$index] = $file;
}
$this->aFiles[$index] = $file;
} else {
$this->aFiles[] = $file;
Expand Down

0 comments on commit 01b3291

Please sign in to comment.