All mysql_-statments replaced by their corresponding mysqli_-statements
[cacert-devel.git] / includes / lib / account.php
index dd8afd3..26a29ce 100644 (file)
@@ -55,7 +55,7 @@ function fix_assurer_flag($userID = NULL)
                                        AND `n`.`deleted` = 0
                        ) >= 100';
 
-       $query = mysql_query($sql);
+       $query = mysqli_query($_SESSION['mconn'], $sql);
        if (!$query) {
                return false;
        }
@@ -91,7 +91,7 @@ function fix_assurer_flag($userID = NULL)
                                ) < 100
                        )';
 
-       $query = mysql_query($sql);
+       $query = mysqli_query($_SESSION['mconn'], $sql);
        if (!$query) {
                return false;
        }