mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 17:01:06 +03:00
Corrected type and stopped log file error
This commit is contained in:
parent
3477400b01
commit
452c1861e1
1 changed files with 8 additions and 6 deletions
|
@ -301,7 +301,7 @@ class FDroid
|
||||||
// Is this source or binary?
|
// Is this source or binary?
|
||||||
$srcbuild = isset($apk['srcname']) && file_exists($this->site_path.'/repo/'.$apk['srcname']);
|
$srcbuild = isset($apk['srcname']) && file_exists($this->site_path.'/repo/'.$apk['srcname']);
|
||||||
|
|
||||||
$out.="<p>This version is build and signed by ";
|
$out.="<p>This version is built and signed by ";
|
||||||
if($srcbuild) {
|
if($srcbuild) {
|
||||||
$out.="F-Droid, and guaranteed to correspond to the source tarball below.</p>";
|
$out.="F-Droid, and guaranteed to correspond to the source tarball below.</p>";
|
||||||
} else {
|
} else {
|
||||||
|
@ -421,10 +421,12 @@ class FDroid
|
||||||
}
|
}
|
||||||
|
|
||||||
$summary = '';
|
$summary = '';
|
||||||
|
if(isset($summaryCount)) {
|
||||||
foreach($summaryCount as $protectionLevel => $count) {
|
foreach($summaryCount as $protectionLevel => $count) {
|
||||||
$summary .= $this->get_permission_protection_level_icon($protectionLevel, 'regular').' '.$count;
|
$summary .= $this->get_permission_protection_level_icon($protectionLevel, 'regular').' '.$count;
|
||||||
$summary .= ', ';
|
$summary .= ', ';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$summary = substr($summary,0,-2);
|
$summary = substr($summary,0,-2);
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue