Skip to content

Commit

Permalink
Revert "Dev: Condition 'sid IS NULL' breaks template list"
Browse files Browse the repository at this point in the history
This reverts commit 739dfc3.
  • Loading branch information
olleharstedt authored and LouisGac committed Nov 1, 2017
1 parent a902092 commit 3523a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/TemplateConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public function search()
$criteria=new CDbCriteria;

//Don't show surveyspecifi settings on the overview
//$criteria->addCondition('sid IS NULL');
$criteria->addCondition('sid IS NULL');
$criteria->addCondition('gsid IS NULL');

$criteria->compare('id',$this->id);
Expand Down

0 comments on commit 3523a92

Please sign in to comment.