diff options
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r-- | system/database/DB_result.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index b98d7a97b..d8d0d0d97 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -1,4 +1,4 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -125,10 +125,10 @@ class CI_DB_result { */
function row($n = 0, $type = 'object')
{
- if (! is_numeric($n))
+ if ( ! is_numeric($n))
{
// We cache the row data for subsequent uses
- if (! is_array($this->row_data))
+ if ( ! is_array($this->row_data))
{
$this->row_data = $this->row_array(0);
}
@@ -156,7 +156,7 @@ class CI_DB_result { function set_row($key, $value = NULL)
{
// We cache the row data for subsequent uses
- if (! is_array($this->row_data))
+ if ( ! is_array($this->row_data))
{
$this->row_data = $this->row_array(0);
}
@@ -338,6 +338,6 @@ class CI_DB_result { }
// END DB_result class
- -/* End of file DB_result.php */ +
+/* End of file DB_result.php */
/* Location: ./system/database/DB_result.php */
\ No newline at end of file |