<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -361,7 +361,7 @@
 			
 			$config = Config::current();
 			if ($config-&gt;clean_urls) {
-				$login = (strpos($config-&gt;post_url, &quot;(author)&quot;)) ? $user-&gt;info(&quot;login&quot;, $the_post-&gt;user_id) : null ;
+				$login = (preg_match(&quot;/\(author\)/&quot;, $config-&gt;post_url)) ? $user-&gt;info(&quot;login&quot;, $this-&gt;user_id) : null ;
 				$vals = array(when(&quot;Y&quot;, $this-&gt;created_at),
 				              when(&quot;m&quot;, $this-&gt;created_at),
 				              when(&quot;d&quot;, $this-&gt;created_at),</diff>
      <filename>includes/model/Post.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>63ebcd2705294b6e3b730a793a502c5653e7f610</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/48c79089ddfc1f53d50c1f0467a69b65553bcb33</url>
  <id>48c79089ddfc1f53d50c1f0467a69b65553bcb33</id>
  <committed-date>2008-04-13T15:21:27-07:00</committed-date>
  <authored-date>2008-04-13T15:21:27-07:00</authored-date>
  <message>Fixed a glitch in having '(author)' at the beginning of their post URL.</message>
  <tree>62e76cae436836d30ea87a7b68614f52ea3f19b6</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
