Skip to content

Commit

Permalink
Add an option to revert description
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Sep 23, 2019
1 parent e17b8d2 commit 1768849
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugin/Articles/updateDescriptionsRemoveTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
$newDescription = strip_tags($value['description'], "<br><p>");

if($newDescription==$value['description']){
continue;;
continue;
}
$newDescription = br2nl($newDescription);
if($newDescription==$value['description']){
continue;;
continue;
}
if(empty($newDescription)){
continue;
}

$video = new Video("", "", $value['id']);
Expand Down

0 comments on commit 1768849

Please sign in to comment.