summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/download_helper.php2
-rw-r--r--user_guide/changelog.html3
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