Minor fixes

This commit is contained in:
Sergey 2023-03-05 10:44:50 +03:00
parent b61ad3ddef
commit 677717a082

View file

@ -1052,7 +1052,7 @@
fclose($stack);
return isset($subnetwork{0}) ? $subnetwork : 'не определена';
return isset($subnetwork[0]) ? $subnetwork : 'не определена';
}
public static function rep_act($name, $time = 20)
@ -1418,7 +1418,7 @@
foreach($aTags as $tag)
$text .= '<strong>'.trim($tag).'</strong>, ';
return isset($text{0}) ? substr($text, 0, -2) : 'отсутствуют';
return isset($text[0]) ? substr($text, 0, -2) : 'отсутствуют';
}
public static function benefitblock($id, $nmch = false)