From 03d783ba0bbee1a5f76b6ad686bbcee59a2e21fb Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Sun, 3 May 2009 19:45:45 +0000
Subject: bug fix and typo fixes
---
system/database/DB_active_rec.php | 2 +-
user_guide/changelog.html | 2 +-
user_guide/general/models.html | 2 +-
user_guide/libraries/form_validation.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index d07255855..07021999f 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -1380,7 +1380,7 @@ class CI_DB_active_record extends CI_DB_driver {
$this->limit($limit);
}
- if (count($this->ar_where) == 0 && count($this->ar_wherein) == 0 && count($this->ar_like))
+ if (count($this->ar_where) == 0 && count($this->ar_wherein) == 0 && count($this->ar_like) == 0)
{
if ($this->db_debug)
{
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index db30ad4d1..c423ac6e7 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -88,7 +88,7 @@ SVN Revision:
Bug fixes for 1.7.2
- - Fixed assorted user guide typos or examples (#6743, #7214).
+ - Fixed assorted user guide typos or examples (#6743, #7214, #7516, #7287).
- doctype helper default value was missing a "1".
- Fixed a bug with ORIG_PATH_INFO that was allowing URIs of just a slash through.
- Fixed a fatal error in the Oracle and ODBC drivers (#6752)
diff --git a/user_guide/general/models.html b/user_guide/general/models.html
index efee5117a..88600bc1f 100644
--- a/user_guide/general/models.html
+++ b/user_guide/general/models.html
@@ -161,7 +161,7 @@ To load a model you will use the following function:
$this->load->model('Model_name');
-If you model is located in a sub-folder, include the relative path from your models folder. For example, if
+
If your model is located in a sub-folder, include the relative path from your models folder. For example, if
you have a model located at application/models/blog/queries.php you'll load it using:
$this->load->model('blog/queries');
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html
index 3069054ae..c34798438 100644
--- a/user_guide/libraries/form_validation.html
+++ b/user_guide/libraries/form_validation.html
@@ -830,7 +830,7 @@ class Member extends Controller {
$config = array(
- 'member/signup' = array(
+ 'member/signup' => array(
array(
'field' => 'username',
'label' => 'Username',
--
cgit v1.2.3-24-g4f1b