diff options
| author | wjames5 <will@tekimaki.com> | 2008-06-04 21:23:54 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-06-04 21:23:54 +0000 |
| commit | 1574b43511872b0ac93e8992f825ca46492606f2 (patch) | |
| tree | e3ad9cf0e01b4c2f0f2ddd1031cbb343c0fcdf56 /attachment_browser.php | |
| parent | 2c302265e30cd73d47c14216765636f1b5fb0b73 (diff) | |
| download | liberty-1574b43511872b0ac93e8992f825ca46492606f2.tar.gz liberty-1574b43511872b0ac93e8992f825ca46492606f2.tar.bz2 liberty-1574b43511872b0ac93e8992f825ca46492606f2.zip | |
migrate attachment browser to LibertyMime
Diffstat (limited to 'attachment_browser.php')
| -rw-r--r-- | attachment_browser.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/attachment_browser.php b/attachment_browser.php index 3a53ed8..77ef065 100644 --- a/attachment_browser.php +++ b/attachment_browser.php @@ -3,7 +3,7 @@ * attachment_browser * * @author spider <spider@steelsun.com> - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ * @package liberty * @subpackage functions */ @@ -18,7 +18,7 @@ global $gBitSmarty, $gContent, $gBitUser, $gBitSystem, $gLibertySystem; // we just want information about a single attachment if (isset($_REQUEST['attachment_id']) && is_numeric($_REQUEST['attachment_id'])){ if ( !$gContent ){ - $gContent = new LibertyAttachable(); + $gContent = new LibertyMime(); } // this is a hack to make it compatible with existing tpls for now $attachment = $gContent->getAttachment($_REQUEST['attachment_id']); @@ -50,4 +50,4 @@ if (isset($_REQUEST['attachment_id']) && is_numeric($_REQUEST['attachment_id'])) $gBitSmarty->assign( 'cant', $listHash['cant'] ); $gBitSmarty->assign( 'numPages', $numPages ); } -?>
\ No newline at end of file +?> |
