~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Entity/Tag.php

  • Committer: Dan Garner
  • Date: 2018-05-21 14:58:11 UTC
  • mfrom: (644.1.8)
  • mto: (614.1.6)
  • mto: This revision was merged to the branch mainline in revision 648.
  • Revision ID: git-v1:e7961b0ebe68a0c0bc5dd7b3abca007138b2cadd
Merge branch 'bugfix/1.8.10-pack1' into feature/r-graph

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
        }
210
210
 
211
211
        $this->displayGroupIds = [];
212
 
        foreach ($this->getStore()->select('SELECT displayGroupId FROM `lktagdisplaygroup` WHERE tagId = :tagId', ['tagId' => $this->tagId]) as $row) {
213
 
            $this->displayGroupIds[] = $row['displayGroupId'];
 
212
        // Didn't exist before 134
 
213
        if (DBVERSION >= 134) {
 
214
            foreach ($this->getStore()->select('SELECT displayGroupId FROM `lktagdisplaygroup` WHERE tagId = :tagId', ['tagId' => $this->tagId]) as $row) {
 
215
                $this->displayGroupIds[] = $row['displayGroupId'];
 
216
            }
214
217
        }
215
218
 
216
219
        // Set the originals