Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Reset content_filter option when saving repository
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 7, 2015
1 parent fd031be commit b8a7c48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/conf.sql/class.sqlConfDriver.php
Expand Up @@ -416,6 +416,8 @@ public function saveRepository($repositoryObject, $update = false)
$options = $repository_array['options'];
if($repositoryObject->hasContentFilter()){
$options["content_filter"] = $repositoryObject->getContentFilter();
}else if(isSet($options["content_filter"])){
unset($options["content_filter"]);
}
unset($repository_array['options']);
if (!$update) {
Expand Down

0 comments on commit b8a7c48

Please sign in to comment.