Skip to content

Commit

Permalink
Dev: Fixed issue at first installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 13, 2017
1 parent a6a30f8 commit e2586e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Plugin.php
Expand Up @@ -47,7 +47,7 @@ public function tableName() {
public function rules() {
return array(
array('name','length', 'max'=>255),
array('active','default', 0),
array('active','default', 'value'=>0),
array('active','numerical', 'integerOnly'=>true,'allowEmpty'=>true),
);
}
Expand Down

0 comments on commit e2586e2

Please sign in to comment.