forked from extern/egroupware
Applied patch #492235 for parent cat select
This commit is contained in:
parent
4959718a17
commit
67ecd24a4a
@ -59,11 +59,11 @@
|
||||
{
|
||||
unset($this->cat_id);
|
||||
}
|
||||
if(isset($sort))
|
||||
if(isset($sort) && !empty($sort))
|
||||
{
|
||||
$this->sort = $sort;
|
||||
}
|
||||
if(isset($order))
|
||||
if(isset($order) && !empty($order))
|
||||
{
|
||||
$this->order = $order;
|
||||
}
|
||||
|
@ -175,7 +175,7 @@
|
||||
|
||||
$new_parent = $GLOBALS['HTTP_POST_VARS']['new_parent'];
|
||||
$submit = $GLOBALS['HTTP_POST_VARS']['submit'];
|
||||
$cat_parent = $GLOBALS['HTTP_POST_VARS']['cat_parent'];
|
||||
$cat_parent = $GLOBALS['HTTP_POST_VARS']['cat_parent'] ? $GLOBALS['HTTP_POST_VARS']['cat_parent'] : $GLOBALS['HTTP_GET_VARS']['cat_parent'];
|
||||
$cat_name = $GLOBALS['HTTP_POST_VARS']['cat_name'];
|
||||
$cat_description = $GLOBALS['HTTP_POST_VARS']['cat_description'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user