From c8bc513d23a175f07e095159d7778130e33f19c1 Mon Sep 17 00:00:00 2001 From: emc3 Date: Wed, 1 Oct 2003 14:38:10 +0000 Subject: [PATCH] Fixed typos git-svn-id: http://svn.automattic.com/wordpress/trunk@402 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- blog.header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog.header.php b/blog.header.php index b4d548f0b8..da52a33212 100644 --- a/blog.header.php +++ b/blog.header.php @@ -178,14 +178,14 @@ if (empty($orderby)) { $orderby = urldecode($orderby); $orderby = addslashes_gpc($orderby); $orderby_array = explode(' ',$orderby); - if (!in_array($orderby_array[0],$allowed_keys) { + if (!in_array($orderby_array[0],$allowed_keys)) { $orderby_array[0] = 'date'; } $orderby = $orderby_array[0].' '.$order; if (count($orderby_array)>1) { for ($i = 1; $i < (count($orderby_array)); $i = $i + 1) { // Only allow certain values for safety - if (in_array($orderby_array[$i],$allowed_keys) { + if (in_array($orderby_array[$i],$allowed_keys)) { $orderby .= ',post_'.$orderby_array[$i].' '.$order; } }