Rev 185 | Rev 3925 | ||
---|---|---|---|
Line 861... | Line 861... | ||
861 | case "comp": |
861 | case "comp": |
862 | $fname = "comp.php"; |
862 | $fname = "comp.php"; |
863 | break; |
863 | break; |
864 | } |
864 | } |
865 | |
865 | |
866 | if ($rep == -1) |
866 | # if ($rep == -1) |
- | 867 | if (!is_object($rep)) |
|
867 | return $fname."?path=".urlencode($path)."&"; |
868 | return $fname."?path=".urlencode($path)."&"; |
868 | else |
869 | else |
869 | return $fname."?repname=".urlencode($rep->getDisplayName())."&path=".urlencode($path)."&"; |
870 | return $fname."?repname=".urlencode($rep->getDisplayName())."&path=".urlencode($path)."&"; |
870 | } |
871 | } |
871 | } |
872 | } |