Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd28f9
)
php 7 compatibility
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 6 Jan 2018 03:24:33 +0000
(22:24 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 6 Jan 2018 03:24:33 +0000
(22:24 -0500)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
4217a55
..
ecf13e0
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-163,7
+163,7
@@
function get_fields() {
$fields_str = unix_newlines($_REQUEST['fields']);
$GLOBALS['gotten_fields'] = array();
$fields_str = rtrim($fields_str);
- $fields = split("\n", $fields_str);
+ $fields = explode("\n", $fields_str);
foreach($fields as $field) {
$first_char = substr($field, 0, 1);
$field = trim($field);