diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-08-21 14:43:31 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-08-21 14:43:31 +0200 |
commit | 993925b47a0bfb08e79961c47bcc3d247a03a5dd (patch) | |
tree | 4012e1f02407efb333a20c67e5d7d1cac8249b9f /system/libraries/Validation.php | |
parent | 719b65d54a85337c5616a781eff07d5031c106e9 (diff) |
whitespace fixes
a minor re-ordering of the changelog
Diffstat (limited to 'system/libraries/Validation.php')
-rw-r--r-- | system/libraries/Validation.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index cae1a3f5a..b42d0e06d 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -640,17 +640,17 @@ class CI_Validation { */
function is_natural_no_zero($str)
{
- if ( ! preg_match( '/^[0-9]+$/', $str))
- {
- return FALSE;
- }
-
- if ($str == 0)
- {
- return FALSE;
- }
-
- return TRUE;
+ if ( ! preg_match( '/^[0-9]+$/', $str))
+ {
+ return FALSE;
+ }
+
+ if ($str == 0)
+ {
+ return FALSE;
+ }
+
+ return TRUE;
}
// --------------------------------------------------------------------
|