Fix several typos.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Nov 2008 03:42:31 +0000 (20:42 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Nov 2008 03:42:31 +0000 (20:42 -0700)
framework/Mime/lib/Horde/Mime/Viewer/Driver.php
framework/Mime/lib/Horde/Mime/Viewer/plain.php

index e91b746..672b729 100644 (file)
@@ -115,7 +115,7 @@ class Horde_Mime_Viewer_Driver
             ? 'text/plain; charset=' . $charset
             : 'text/html; charset=' . $charset;
 
-        if (is_null($this->_mimepart) || !$this->canDisplay($mode)) {
+        if (is_null($this->_mimepart) || !$this->canRender($mode)) {
             return $default;
         }
 
index 913c084..31ad59b 100644 (file)
@@ -19,7 +19,7 @@ class Horde_Mime_Viewer_plain extends Horde_Mime_Viewer_Driver
      *
      * @var boolean
      */
-    protected $_canrender = array(
+    protected $_capability = array(
         'embedded' => false,
         'full' => true,
         'info' => false,