summaryrefslogtreecommitdiff
path: root/attachment_browser.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-06-04 21:23:54 +0000
committerwjames5 <will@tekimaki.com>2008-06-04 21:23:54 +0000
commit1574b43511872b0ac93e8992f825ca46492606f2 (patch)
treee3ad9cf0e01b4c2f0f2ddd1031cbb343c0fcdf56 /attachment_browser.php
parent2c302265e30cd73d47c14216765636f1b5fb0b73 (diff)
downloadliberty-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.php6
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
+?>