From 3a555ef16dfe811815af83fdeccfebd6c04b99b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 17 Apr 2008 22:03:00 +0000 Subject: The Download helper now exits within force-download(). --- system/helpers/download_helper.php | 2 +- 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
  • Modified img() in the HTML Helper to remove an unneeded space (#4208).
  • Modified anchor() in the URL helper to convert entities in the title attribute (#4209).
  • Fixed a bug in link_tag() of the URL helper where a key was passed instead of a value.
  • -
  • Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values
  • +
  • Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values.
  • +
  • The Download helper now exits within force-download().
  • Plugins -- cgit v1.2.3-24-g4f1b