Skip to content

Commit

Permalink
fix #3404: Verlinkte Grafik existiert nicht
Browse files Browse the repository at this point in the history
  • Loading branch information
following5 committed Jul 21, 2012
1 parent f1beaf3 commit 77716cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions htdocs/lib/cache_icon.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ function getCacheIcon($user_id, $cache_id, $cache_status, $cache_userid, $iconna
{
switch($row['type'])
{
case 1:
case 7: $found = $row['type']; $cacheicon_type = "-found"; $inactive = true; break;
case 2: $found = $row['type']; $cacheicon_type = "-dnf"; break;
case 1:
case 7: $found = $row['type']; $cacheicon_type = "-found"; $inactive = true; break;
case 2: $found = $row['type']; $cacheicon_type = "-dnf"; break;
}
}
}
Expand All @@ -62,6 +62,7 @@ function getCacheIcon($user_id, $cache_id, $cache_status, $cache_userid, $iconna
case 2: $cacheicon_searchable = "-n"; break;
case 3: $cacheicon_searchable = "-a"; break;
case 4: $cacheicon_searchable = "-a"; break;
case 5: $cacheicon_searchable = "-s"; break; // fix for RT ticket #3403
case 6: $cacheicon_searchable = "-a"; break;
case 7: $cacheicon_searchable = "-a"; break;
}
Expand Down

0 comments on commit 77716cb

Please sign in to comment.