FIX Stickler error
This commit is contained in:
parent
dfba9a06ad
commit
848ee9decf
@ -1659,12 +1659,9 @@ if ($action == 'updatemeta')
|
|||||||
$objectpage->htmlheader = trim(GETPOST('htmlheader', 'none'));
|
$objectpage->htmlheader = trim(GETPOST('htmlheader', 'none'));
|
||||||
$objectpage->fk_page = (GETPOST('pageidfortranslation', 'int') > 0 ? GETPOST('pageidfortranslation', 'int') : 0);
|
$objectpage->fk_page = (GETPOST('pageidfortranslation', 'int') > 0 ? GETPOST('pageidfortranslation', 'int') : 0);
|
||||||
$objectpage->author_alias = trim(GETPOST('WEBSITE_AUTHORALIAS', 'alphanohtml'));
|
$objectpage->author_alias = trim(GETPOST('WEBSITE_AUTHORALIAS', 'alphanohtml'));
|
||||||
if(GETPOSTISSET('WEBSITE_OBJECTCLASS')){
|
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTCLASS', 'alpha');
|
||||||
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTCLASS', 'alpha');
|
$objectpage->fk_object = GETPOST('WEBSITE_OBJECTID','aZ09');
|
||||||
}
|
|
||||||
if(GETPOSTISSET('WEBSITE_OBJECTID')){
|
|
||||||
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTID','aZ09');
|
|
||||||
}
|
|
||||||
$newdatecreation = dol_mktime(GETPOST('datecreationhour', 'int'), GETPOST('datecreationmin', 'int'), GETPOST('datecreationsec', 'int'), GETPOST('datecreationmonth', 'int'), GETPOST('datecreationday', 'int'), GETPOST('datecreationyear', 'int'));
|
$newdatecreation = dol_mktime(GETPOST('datecreationhour', 'int'), GETPOST('datecreationmin', 'int'), GETPOST('datecreationsec', 'int'), GETPOST('datecreationmonth', 'int'), GETPOST('datecreationday', 'int'), GETPOST('datecreationyear', 'int'));
|
||||||
if ($newdatecreation) $objectpage->date_creation = $newdatecreation;
|
if ($newdatecreation) $objectpage->date_creation = $newdatecreation;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user