mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #3426 - Pages : Custom Fields on Create.
This commit is contained in:
parent
f99e2fbca0
commit
1d6a957793
@ -1014,6 +1014,9 @@ class page_admin_ui extends e_admin_ui
|
||||
|
||||
function beforeCreate($newdata,$olddata)
|
||||
{
|
||||
|
||||
$newdata = e107::getCustomFields()->processDataPost('page_fields',$newdata);
|
||||
|
||||
$newdata['menu_name'] = preg_replace('/[^\w-*]/','-',$newdata['menu_name']);
|
||||
|
||||
if(empty($newdata['page_sef']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user