summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2009-04-14 21:27:38 +0200
committerDerek Allard <derek.allard@ellislab.com>2009-04-14 21:27:38 +0200
commit93bddd16200be9eaf623dd6114860792097f11ac (patch)
tree634c59b790c401a596c22be2227ab44e5e040479
parent8ab36a54484b7f6a9d19a35c2fc6e959d15ab3b8 (diff)
doctype helper default value was missing a "1".
-rw-r--r--system/helpers/html_helper.php2
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index e552b86b4..3117035bf 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -246,7 +246,7 @@ if ( ! function_exists('img'))
*/
if ( ! function_exists('doctype'))
{
- function doctype($type = 'xhtml-strict')
+ function doctype($type = 'xhtml1-strict')
{
global $_doctypes;
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 9ef36d789..8eec51d65 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -88,6 +88,7 @@ SVN Revision: </p>
<h3>Bug fixes for 1.7.2</h3>
<ul>
<li>Fixed assorted user guide typos or examples (#6743, #7214).</li>
+ <li>doctype helper default value was missing a "1".</li>
<li>Fixed a bug with ORIG_PATH_INFO that was allowing URIs of just a slash through.</li>
<li>Fixed a fatal error in the Oracle and ODBC drivers (#6752)</li>
<li>Fixed a bug where Database Forge's add_column and modify_column were not looping through when sent multiple fields.</li>