From 8c693ec00ca9f146a37dd9666ee2232a05356adf Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Tue, 12 Mar 2024 19:04:59 +0100 Subject: [PATCH] remove deprecation call --- conlite/includes/startup.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conlite/includes/startup.php b/conlite/includes/startup.php index 5eca71e..659525c 100644 --- a/conlite/includes/startup.php +++ b/conlite/includes/startup.php @@ -211,7 +211,7 @@ if (!isset($encoding) || !is_array($encoding) || count($encoding) == 0) { $encoding = array(); $sql = "SELECT idlang, encoding FROM " . $cfg["tab"]["lang"]; $db->query($sql); - while ($db->next_record()) { + while ($db->nextRecord()) { $encoding[$db->f('idlang')] = $db->f('encoding'); } } @@ -220,5 +220,4 @@ if($cfg['debug']['sendnocacheheader']) { header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. header("Pragma: no-cache"); // HTTP 1.0. header("Expires: 0"); // Proxies. -} -?> +} \ No newline at end of file