All mysql_-statments replaced by their corresponding mysqli_-statements
[cacert-devel.git] / scripts / send_policy_cca_20140916.php
index 4d8cd66..39f21ad 100644 (file)
@@ -116,9 +116,9 @@ $query = "
        AND `id` >= '$lastid'
        ORDER BY `id`";
 
-$res = mysql_query($query);
+$res = mysqli_query($_SESSION['mconn'], $query);
 
-while($row = mysql_fetch_assoc($res))
+while($row = mysqli_fetch_assoc($res))
 {
        $mailtxt = "Dear ${row["fname"]} ${row["lname"]},\n".$lines_EN."\n\n";