mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
check if POST var attributes is set
This commit is contained in:
parent
0ffe373e82
commit
18b89fcb33
|
@ -56,7 +56,10 @@ if (!is_numeric($sequence)) {
|
|||
|
||||
$name = $_POST["name"];
|
||||
$comment = $_POST["comment"];
|
||||
$attributes = $_POST["attributes"];
|
||||
if(isset($_POST["attributes"]))
|
||||
$attributes = $_POST["attributes"];
|
||||
else
|
||||
$attributes = array();
|
||||
$subFolder = $folder->addSubFolder($name, $comment, $user, $sequence, $attributes);
|
||||
|
||||
if (is_object($subFolder)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user