commit 297f9a80e98691959ec86eff2350573ea9f25570
parent 80a7f47c9b809bcb1dd1ff478803b486aef76532
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 13:29:23 +0100
try to fix "mysql_num_rows" bug
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -28,7 +28,9 @@
#$resultat->close();
}
if ($resultat = $connection->query("SELECT * FROM posts WHERE author LIKE '$author'")) {
+ while($daten = $resultat->fetch_object() ){
$author_id_clean = mysql_num_rows($resultat);
+ }
}
next_id_only();
next_id_category();