Commit 2412c8c
committed
Simplify Validation::getErrors()
No need to use session class instance to get $_SESSION['_ci_validation_errors'] if it and $_SESSION are proven set.
Using isset($var1, $var2) easier on eyes than a compound conditional part of which is an assignment.1 parent 65cc1f4 commit 2412c8c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
650 | 650 | | |
651 | | - | |
| 651 | + | |
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| |||
0 commit comments