1
0
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:
Cameron
2016-06-07 10:40:14 -07:00
parent 3cff407d62
commit 3dbcf5e802
3 changed files with 9 additions and 5 deletions

View File

@@ -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']))
{