aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV.Krishn <vkrishn4@gmail.com>2015-08-17 13:52:53 +0530
committerV.Krishn <vkrishn4@gmail.com>2015-08-17 13:52:53 +0530
commite6950052a3ff045a1ee740e4fac70b179d5eaac7 (patch)
treead342a4fd1aea299565d2641a7126e0c431fa443
parenta22775bd1a043938f1b7ee8d13ad2feecc2a4693 (diff)
downloadphputils-e6950052a3ff045a1ee740e4fac70b179d5eaac7.tar.bz2
Minor bug fix (undefined variable)v0.1.2
-rw-r--r--docs/release-note/0.1.2.md3
-rw-r--r--str_getcsv4.php5
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/release-note/0.1.2.md b/docs/release-note/0.1.2.md
new file mode 100644
index 0000000..3117970
--- /dev/null
+++ b/docs/release-note/0.1.2.md
@@ -0,0 +1,3 @@
+## PhpUtils
+Release date: 2015-08-17
+* Minor bug fix (undefined variable).
diff --git a/str_getcsv4.php b/str_getcsv4.php
index e2d6484..35e0962 100644
--- a/str_getcsv4.php
+++ b/str_getcsv4.php
@@ -15,10 +15,10 @@
*
* @category PHP
* @author V.Krishn <vkrishn4@gmail.com>
- * @copyright Copyright (c) 2012-2014 V.Krishn <vkrishn4@gmail.com>
+ * @copyright Copyright (c) 2012-2015 V.Krishn <vkrishn4@gmail.com>
* @license GPL
* @link http://github.com/insteps/phputils
- * @version 0.1.1
+ * @version 0.1.2
*
*/
@@ -66,6 +66,7 @@
}
$a = explode($delimiter, $input);
+ $on = NULL;
foreach($a as $k=>$v) {