From 0cad5cc23ce713a1aa322adc81dc80fd52931aed Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 1 Feb 2010 00:53:35 -0800 Subject: [PATCH] PRefer explode() to split() --- modules/batchtag/controllers/batchtag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/batchtag/controllers/batchtag.php b/modules/batchtag/controllers/batchtag.php index 9b24b657..b7a659fa 100644 --- a/modules/batchtag/controllers/batchtag.php +++ b/modules/batchtag/controllers/batchtag.php @@ -50,7 +50,7 @@ class BatchTag_Controller extends Controller { // Assuming the user can view/edit the current item, loop // through each tag that was submitted and apply it to // the current item. - foreach (split(",", $input->post("name")) as $tag_name) { + foreach (explode(",", $input->post("name")) as $tag_name) { $tag_name = trim($tag_name); if ($tag_name) { tag::add($child, $tag_name);