mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 03:12:35 +01:00
FIX Stickler error
This commit is contained in:
@@ -1659,12 +1659,9 @@ if ($action == 'updatemeta')
|
||||
$objectpage->htmlheader = trim(GETPOST('htmlheader', 'none'));
|
||||
$objectpage->fk_page = (GETPOST('pageidfortranslation', 'int') > 0 ? GETPOST('pageidfortranslation', 'int') : 0);
|
||||
$objectpage->author_alias = trim(GETPOST('WEBSITE_AUTHORALIAS', 'alphanohtml'));
|
||||
if(GETPOSTISSET('WEBSITE_OBJECTCLASS')){
|
||||
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTCLASS', 'alpha');
|
||||
}
|
||||
if(GETPOSTISSET('WEBSITE_OBJECTID')){
|
||||
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTID','aZ09');
|
||||
}
|
||||
$objectpage->fk_typeobject = GETPOST('WEBSITE_OBJECTCLASS', 'alpha');
|
||||
$objectpage->fk_object = 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'));
|
||||
if ($newdatecreation) $objectpage->date_creation = $newdatecreation;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user