Code Quality

This commit is contained in:
cgfhtw
2023-07-27 11:42:03 +02:00
parent ace3bd6736
commit 7dee77a6af
18 changed files with 113 additions and 79 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
*
*/
class Pub extends FHC_Controller
{
@@ -128,7 +128,8 @@ class Pub extends FHC_Controller
]);
if (file_exists($filename)) {
if ($handle = fopen($filename, "r")) {
$handle = fopen($filename, "r");
if ($handle) {
while (!feof($handle)) {
$akte->inhalt .= fread($handle, 8192);
}
@@ -144,7 +145,6 @@ class Pub extends FHC_Controller
if ($akte->inhalt && !$foto_gesperrt) {
$cTmpHEX = $akte->inhalt;
}
}
}