Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Updating a minor class definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Glasl committed Jun 20, 2016
1 parent 73c5c00 commit 6002faa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [fusion](https://packagist.org/packages/nglasl/silverstripe-fusion)

_The current release is **2.0.0**_
_The current release is **2.0.1**_

> A module for SilverStripe which will automatically consolidate existing tag types into new fusion tags, and allows searchable content tagging out of the box.
Expand Down
10 changes: 7 additions & 3 deletions code/dataobjects/FusionTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,13 @@ public function requireDefaultRecords() {
// The tag type exclusions need updating to reflect this.

foreach($types as $exclusion) {
$query = new SQLUpdate($exclusion, array(
'FusionTagID' => 0
), $where);
$query = new SQLUpdate(
$exclusion,
array(
'FusionTagID' => 0
),
$where
);
$query->useDisjunction();
$query->execute();
}
Expand Down

0 comments on commit 6002faa

Please sign in to comment.