summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2025-05-18 21:37:21 -0400
committerspiderr <spiderr@bitweaver.org>2025-05-18 21:37:21 -0400
commit357f49b317f2b7c5aac495d4c8af855ad8032c0d (patch)
tree4aba1de248d786d093347b036d83c005a579b2ac /includes
parentfcb89ed55ad78a594a691cf2509b34935714772f (diff)
downloadfisheye-357f49b317f2b7c5aac495d4c8af855ad8032c0d.tar.gz
fisheye-357f49b317f2b7c5aac495d4c8af855ad8032c0d.tar.bz2
fisheye-357f49b317f2b7c5aac495d4c8af855ad8032c0d.zip
is_a LibertyContent on fisheye_handle_upload
Diffstat (limited to 'includes')
-rw-r--r--includes/upload_inc.php4
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;