better to keep value of field on item submit form

More
2 years 3 months ago #81319 by any
i change line 2879 on file administrator/component/com_flexicontent/models/parentclassitem.php to keep value of field even if you submit an item in itemform where the field is not present

$postdata[$field->name] = isset($data[$field->name]) ? $data[$field->name] : $field->value;

i thnk is better to do like that

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #81320 by micker
hello
can you do a pr on github ? for a review ?
github.com/FLEXIcontent/flexicontent-cck
thanks for help

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.264 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline