@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | 'disabled' => false, |
| 22 | 22 | 'readonly' => false, |
| 23 | 23 | 'default' => 'off', |
| 24 | - 'filter' => array( $this, 'filter' ), |
|
| 24 | + 'filter' => array($this, 'filter'), |
|
| 25 | 25 | 'show' => null |
| 26 | 26 | ); |
| 27 | 27 | } |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function filter($v) |
| 49 | 49 | { |
| 50 | - if($v !== 'on') return 'off'; |
|
| 50 | + if ($v !== 'on') return 'off'; |
|
| 51 | 51 | return 'on'; |
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | \ No newline at end of file |