diff --git a/admin/admin.php b/admin/admin.php index 4398ceb..bbf8daa 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -143,7 +143,7 @@ if ($_POST['sbr_par']) { query('SELECT * FROM `aligns` ORDER BY `align`'))->fetch_assoc_array(); + $aligns = db::c()->query('SELECT * FROM `aligns` ORDER BY `align`')->fetch_assoc_array(); while ($aligns) { echo "{$row['align']}{$row['name']}"; } ?>