diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-18 00:03:00 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-18 00:03:00 +0200 |
commit | 3a555ef16dfe811815af83fdeccfebd6c04b99b2 (patch) | |
tree | 831c80414c3850af12c1fe70da27b79c0fe5a2ff | |
parent | 5162fc778acb1ecc8f879578e48bde9ce767775c (diff) |
The Download helper now exits within force-download().
-rw-r--r-- | system/helpers/download_helper.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index 2d0e737c9..5e47fc5c9 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -91,7 +91,7 @@ if (! function_exists('force_download')) header("Content-Length: ".strlen($data));
}
- echo $data;
+ exit($data);
}
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 4b93f6049..ef6128da6 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -87,7 +87,8 @@ Change Log <li>Modified <kbd>img()</kbd> in the <a href="helpers/html_helper.html">HTML Helper</a> to remove an unneeded space (#4208).</li>
<li>Modified <kbd>anchor()</kbd> in the <a href="helpers/url_helper.html">URL helper</a> to convert entities in the title attribute (#4209).</li>
<li>Fixed a bug in <kbd>link_tag()</kbd> of the <a href="helpers/url_helper.html">URL helper</a> where a key was passed instead of a value.</li>
- <li>Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values</li>
+ <li>Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values.</li>
+ <li>The <a href="helpers/download_helper.html">Download helper</a> now exits within <kbd>force-download()</kbd>.</li>
</ul>
</li>
<li>Plugins
|