mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Removed some warnings...
This commit is contained in:
parent
0b93372716
commit
8eea935016
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class FDroid
|
|||
$out.=$diffSize>0?'+':'';
|
||||
$out.=$this->human_readable_size($diffSize, 1).')</span>';
|
||||
}
|
||||
if($apk['srcname']) {
|
||||
if(isset($apk['srcname']) && file_exists($this->site_path.'/repo/'.$apk['srcname'])) {
|
||||
$out.='<br /><a href="http://f-droid.org/repo/'.$apk['srcname'].'">source tarball</a> ';
|
||||
$out.=$this->human_readable_size(filesize($this->site_path.'/repo/'.$apk['srcname']));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue