mirror of
https://github.com/itflow-org/itflow
synced 2026-03-22 13:35:37 +00:00
Correct num_row > num_rows
This commit is contained in:
@@ -17,7 +17,7 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM tags
|
|||||||
|
|
||||||
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||||
|
|
||||||
if ($num_row > 0) {
|
if ($num_rows > 0) {
|
||||||
//Colors Used
|
//Colors Used
|
||||||
$sql_colors_used = mysqli_query($mysqli, "SELECT tag_color FROM tags
|
$sql_colors_used = mysqli_query($mysqli, "SELECT tag_color FROM tags
|
||||||
WHERE tag_archived_at IS NULL
|
WHERE tag_archived_at IS NULL
|
||||||
|
|||||||
Reference in New Issue
Block a user