[gnome-web-www/wptest] Now it should be working properly, thanks Vinicius for the fix.
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www/wptest] Now it should be working properly, thanks Vinicius for the fix.
- Date: Fri, 2 Mar 2012 14:25:34 +0000 (UTC)
commit f12e4a4f4def7d4eca43a00e4dbcab9a4abe273b
Author: Andrea Veri <av src gnome org>
Date: Fri Mar 2 15:25:40 2012 +0100
Now it should be working properly, thanks Vinicius for the fix.
theme/single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/theme/single.php b/theme/single.php
index e420688..21e1b1e 100644
--- a/theme/single.php
+++ b/theme/single.php
@@ -10,7 +10,7 @@ $post_category = get_the_category();
if($post_type == 'post') {
- if($post_category->slug == 'quarterly-reports') {
+ if($post_category[0]->slug == 'quarterly-reports') {
require_once('one-column.php');
} else {
require_once('news.php');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]