summaryrefslogtreecommitdiff
path: root/download_file.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-06-30 02:56:55 +0000
committerwjames5 <will@tekimaki.com>2008-06-30 02:56:55 +0000
commitd40c3d6d2035b7c31e25926f4d7774c55c8c70cf (patch)
tree24c513ceb0af13b7aac6852ced4bef6f6d5e1b61 /download_file.php
parent29fa93d4e24ca4b0033f27337e15996ac20acd16 (diff)
downloadliberty-d40c3d6d2035b7c31e25926f4d7774c55c8c70cf.tar.gz
liberty-d40c3d6d2035b7c31e25926f4d7774c55c8c70cf.tar.bz2
liberty-d40c3d6d2035b7c31e25926f4d7774c55c8c70cf.zip
function name was tweaked - match it
Diffstat (limited to 'download_file.php')
-rw-r--r--download_file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/download_file.php b/download_file.php
index 59a9b5f..9177b0a 100644
--- a/download_file.php
+++ b/download_file.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_liberty/download_file.php,v 1.2 2008/06/27 08:43:42 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_liberty/download_file.php,v 1.3 2008/06/30 02:56:55 wjames5 Exp $
*
* @author xing <xing@synapse.plus.com>
* @package treasury
@@ -23,7 +23,7 @@ $gContent = LibertyBase::getLibertyObject( $attachment['content_id'] );
$gContent->verifyViewPermission();
$gBitSmarty->assign( 'gContent', $gContent );
-if( $download_function = $gLibertySystem->getMimePluginFunction( $attachment['attachment_plugin_guid'], 'download_function' )) {
+if( $download_function = $gLibertySystem->getPluginFunction( $attachment['attachment_plugin_guid'], 'download_function' )) {
if( $download_function( $attachment )) {
die;
} else {