<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -28,8 +28,8 @@
 				$options[&quot;where&quot;] = array();
 
 			$has_status = false;
-			foreach ($options[&quot;where&quot;] as $where)
-				if (substr_count($where, &quot;status&quot;))
+			foreach ($options[&quot;where&quot;] as $key =&gt; $val)
+				if (is_int($key) and substr_count($val, &quot;status&quot;) or $key == &quot;status&quot;)
 					$has_status = true;
 
 			if (!XML_RPC) {</diff>
      <filename>includes/model/Post.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>056d0023eb9c16f95e88545cbdbf44ada446498d</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/1a5a56f507a1104b9c5d517a171a5bcace80f5e0</url>
  <id>1a5a56f507a1104b9c5d517a171a5bcace80f5e0</id>
  <committed-date>2008-09-01T20:49:14-07:00</committed-date>
  <authored-date>2008-09-01T20:49:14-07:00</authored-date>
  <message>Fixed improper status-searching in Post::__construct.</message>
  <tree>9e99be2ef6b0ba47d3b7fe235f2886ecf217cdae</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
