update for php7

This commit is contained in:
2018-08-04 11:33:52 +02:00
parent 63e29ff70a
commit 8495e84989
12 changed files with 185 additions and 185 deletions

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
// Status pr<70>fen, berichtigen, ersetzen
// Status pr<70>fen, berichtigen, ersetzen
function repair_status($kennung, $zeit_neu, $status_alt, $zeit_alt) {
global $korr_status_zeit, $status_kfz;
@ -326,8 +326,8 @@ function split_kfz($kfz) {
}
function count_total($tocount) {
$result = mysql_query("SELECT Count(*) as $tocount FROM $tocount");
$result = mysql_fetch_array($result);
$result = mysqli_query("SELECT Count(*) as $tocount FROM $tocount");
$result = mysqli_fetch_array($result);
return $result[$tocount];
}