diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/upload_inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/upload_inc.php b/includes/upload_inc.php index c3f1c64..778b321 100644 --- a/includes/upload_inc.php +++ b/includes/upload_inc.php @@ -72,7 +72,9 @@ function fisheye_handle_upload( &$pFiles, &$pRequest ) { if( !empty( $gFisheyeUploads ) ){ $_REQUEST['uploaded_objects'] = &$gFisheyeUploads; - $gContent->invokeServices( "content_post_upload_function", $_REQUEST ); + if( is_a( $gContent, 'LibertyContent' ) ) { + $gContent->invokeServices( "content_post_upload_function", $_REQUEST ); + } } return $upErrors; |
