X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=8f37200644000085749f7c776b3cf8c5e281608d;hb=fff6ce4082b64db5d470acf63ecb2730ef2b5e8a;hp=93c32ad5c66573742be5913efc541e84cb55cbd8;hpb=7efdf72a861430b2e437e31278c6eacfd4d622a0;p=mirrors%2FSokoMan.git diff --git a/index.php b/index.php index 93c32ad..8f37200 100755 --- a/index.php +++ b/index.php @@ -148,6 +148,7 @@ class Sklad_HTML extends HTML {
  • Home
  • Assistants +
  • stats
  • store
  • dispose
  • sell
  • @@ -224,7 +225,7 @@ EOF; ); foreach($table as $id => $row) { foreach($collapse as $link => $title) - if(isset($table[$id][$link])) { + if(isset($table[$id][$link]) && isset($row[$title])) { $type = @array_shift(preg_split('/_/', $link)); if($link != $title) unset($table[$id][$link]); $table[$id][$title]=$this->link($row[$title], $type.'/'.$row[$link].'/');