Priprava na export ceniku pro web, procisteni vypisu assistentu
[mirrors/SokoMan.git] / index.php
index a6bca88694479642d9fc7645b27a936fc6acabfd..02aa5252b21644ec018d8950ece2b365574d7289 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -224,8 +224,8 @@ EOF;
        $assistants=array();
        foreach(scandir(DIR_ASSISTANTS) as $item) {
                if($item == '.' || $item == '..') continue;
-               $item = preg_replace('/\.inc\.php$/','',$item);
-               $assistants[$item] = "assistant/$item";
+               $item = preg_replace('/\.inc\.php$/','',$item,-1,$count);
+               if($count) $assistants[$item] = "assistant/$item";
        }
 
        $tables=array('item','model','category','producer','vendor','room','status');
This page took 0.090775 seconds and 4 git commands to generate.