diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 12:09:54 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 12:09:54 +0200 |
commit | 48a2baf0e288accd206f5da5031d29076e130792 (patch) | |
tree | 9f2f0130ae05cfbe8301ab29cbbb2d389cc7c65f /system/database/DB_utility.php | |
parent | ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d (diff) |
Replaced `==` with `===` and `!=` with `!==` in /system/database
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r-- | system/database/DB_utility.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index cb97ff448..02c921834 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php @@ -343,7 +343,7 @@ abstract class CI_DB_utility extends CI_DB_forge { if ($prefs['format'] === 'zip') { // Set the filename if not provided (only needed with Zip files) - if ($prefs['filename'] == '') + if ($prefs['filename'] === '') { $prefs['filename'] = (count($prefs['tables']) === 1 ? $prefs['tables'] : $this->db->database) .date('Y-m-d_H-i', time()).'.sql'; @@ -369,7 +369,7 @@ abstract class CI_DB_utility extends CI_DB_forge { $CI->zip->add_data($prefs['filename'], $this->_backup($prefs)); return $CI->zip->get_zip(); } - elseif ($prefs['format'] == 'txt') // Was a text file requested? + elseif ($prefs['format'] === 'txt') // Was a text file requested? { return $this->_backup($prefs); } |