mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Fixes #3426 - Pages : Custom Fields on Create.
This commit is contained in:
@@ -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']))
|
||||
|
Reference in New Issue
Block a user