Completed
Push — master ( ab09db...eef690 )
by Nazar
04:19
created
components/modules/Blogs/admin/prepare.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@  discard block
 block discarded – undo
15 15
 	cs\User;
16 16
 
17 17
 function get_posts_rows ($page = 1) {
18
-	$Posts		= Posts::instance();
19
-	$Sections	= Sections::instance();
18
+	$Posts = Posts::instance();
19
+	$Sections = Sections::instance();
20 20
 	$Config		= Config::instance();
21
-	$L			= new Prefix('blogs_');
21
+	$L = new Prefix('blogs_');
22 22
 	$User		= User::instance();
23 23
 	$module		= path($L->Blogs);
24 24
 	$page		= (int)$page ?: 1;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	$num		= $Config->module('Blogs')->posts_per_page;
27 27
 	$from		= ($page - 1) * $num;
28 28
 	$cdb		= DB::instance()->{$Config->module('Blogs')->db('posts')};
29
-	$posts		= $cdb->qfas(
29
+	$posts = $cdb->qfas(
30 30
 		"SELECT `id`
31 31
 		FROM `[prefix]blogs_posts`
32 32
 		ORDER BY `id` DESC
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 				);
49 49
 			}
50 50
 			unset($section);
51
-			$content[]	= [
51
+			$content[] = [
52 52
 				h::a(
53 53
 					$post['title'],
54 54
 					[
Please login to merge, or discard this patch.