Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo-Storage/issues/30
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed May 16, 2022
1 parent 3745120 commit 44b8872
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions objects/video.php
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,10 @@ private static function rrmdir($dir) {

public function setDescription($description) {
global $global, $advancedCustom;

if (empty($advancedCustom)) {
$advancedCustom = AVideoPlugin::getDataObject('CustomizeAdvanced');
}
if (empty($advancedCustom->disableHTMLDescription)) {
$articleObj = AVideoPlugin::getObjectData('Articles');
$configPuri = HTMLPurifier_Config::createDefault();
Expand Down

0 comments on commit 44b8872

Please sign in to comment.