mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Default Author fix for userpicker() with admin-ui
This commit is contained in:
@@ -211,7 +211,7 @@ class page_chapters_ui extends e_admin_ui
|
||||
}
|
||||
|
||||
|
||||
public function beforeCreate($new_data)
|
||||
public function beforeCreate($new_data, $old_data)
|
||||
{
|
||||
if(empty($new_data['chapter_sef']))
|
||||
{
|
||||
@@ -725,7 +725,7 @@ class page_admin_ui extends e_admin_ui
|
||||
return $newdata;
|
||||
}
|
||||
|
||||
function beforeUpdate($newdata,$olddata)
|
||||
function beforeUpdate($newdata,$olddata, $id)
|
||||
{
|
||||
if(isset($newdata['menu_name']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user