<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -177,7 +177,7 @@
 
 			$post = new Post($_GET['id'], array(&quot;drafts&quot; =&gt; true, &quot;filter&quot; =&gt; false));
 
-			if (!$this-&gt;context[&quot;post&quot;]-&gt;editable())
+			if (!$post-&gt;editable())
 				show_403(__(&quot;Access Denied&quot;), __(&quot;You do not have sufficient privileges to edit this post.&quot;));
 
 			Trigger::current()-&gt;filter($options, array(&quot;edit_post_options&quot;, &quot;post_options&quot;), $post);
@@ -186,7 +186,7 @@
 			               array(&quot;post&quot; =&gt; $post,
 			                     &quot;groups&quot; =&gt; Group::find(array(&quot;order&quot; =&gt; &quot;id ASC&quot;)),
 			                     &quot;options&quot; =&gt; $options,
-			                     &quot;feather&quot; =&gt; Feathers::$instances[$this-&gt;context[&quot;post&quot;]-&gt;feather]));
+			                     &quot;feather&quot; =&gt; Feathers::$instances[$post-&gt;feather]));
 		}
 
 		/**</diff>
      <filename>includes/controller/Admin.php</filename>
    </modified>
    <modified>
      <diff>@@ -263,10 +263,8 @@
 			}
 
 			if (!in_array(false, $set))
-				Flash::notice(__(&quot;Settings updated.&quot;), &quot;/admin/?action=comment_settings&quot;);
-
-            $admin-&gt;display(&quot;comment_settings&quot;);
-		}
+                Flash::notice(__(&quot;Settings updated.&quot;), &quot;/admin/?action=comment_settings&quot;);
+        }
 
 		static function settings_nav($navs) {
 			if (Visitor::current()-&gt;group()-&gt;can(&quot;change_settings&quot;))</diff>
      <filename>modules/comments/comments.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b38f473f71591d151ce30575adffe9f84080f4de</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>alex@imac.localdomain</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/cc4dcbddf153e5d9d3810c89253ab82a40814ad9</url>
  <id>cc4dcbddf153e5d9d3810c89253ab82a40814ad9</id>
  <committed-date>2008-09-27T10:33:09-07:00</committed-date>
  <authored-date>2008-09-27T10:33:09-07:00</authored-date>
  <message>Fixed post editing. [#214 state:resolved]</message>
  <tree>7f3ddc4d541d3f81669b728c60bfd9cb388c7c61</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>alex@imac.localdomain</email>
  </committer>
</commit>
