support textarea
This commit is contained in:
parent
6ff3755e63
commit
9c2e831095
|
@ -94,6 +94,10 @@ if (isset($_POST['save'])) {
|
||||||
if (isset($_POST[$element])) $options[$element] = $_POST[$element]; // value is already an array
|
if (isset($_POST[$element])) $options[$element] = $_POST[$element]; // value is already an array
|
||||||
else $options[$element] = array();
|
else $options[$element] = array();
|
||||||
}
|
}
|
||||||
|
// textareas
|
||||||
|
if ($_SESSION['profile_types'][$element] == "textarea") {
|
||||||
|
$options[$element] = explode("\r\n", $_POST[$element]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove double slashes if magic quotes are on
|
// remove double slashes if magic quotes are on
|
||||||
|
|
Loading…
Reference in New Issue