saveAttributesForm error in concrete5.8

Permalink
private function saveData($p) {
$attributeset_id=Config::get('concrete.management_attribute_set_id');
$set = AttributeSet::getByID($attributeset_id);
if(is_object($set)){
$setAttribs = $set->getAttributeKeys();
if($setAttribs){
foreach ($setAttribs as $ak) {
$aksv = CollectionAttributeKey::getByHandle($ak->getAttributeKeyHandle());
$aksv->saveAttributesForm($p);
}
}
}

1 Attachment

View Replies: