You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having issues when a pivot model is used standalone to work with the pivot data. There is logic in the model that issues that it is only being used as a pivot. For example...
/** * Get the name of the "updated at" column. * * @return string */publicfunctiongetUpdatedAtColumn()
{
return$this->pivotParent->getUpdatedAtColumn();
}
However, as of 5.6, this bug was fixed..
/** * Get the name of the "updated at" column. * * @return string */publicfunctiongetUpdatedAtColumn()
{
return ($this->pivotParent)
? $this->pivotParent->getUpdatedAtColumn()
: parent::getUpdatedAtColumn();
}
Since 5.5 is LTS, can we get this model back ported into a 5.5 tag?
Steps To Reproduce:
Make a pivot model
Work directly with the model
The text was updated successfully, but these errors were encountered:
Description:
We are having issues when a pivot model is used standalone to work with the pivot data. There is logic in the model that issues that it is only being used as a pivot. For example...
However, as of 5.6, this bug was fixed..
Since 5.5 is LTS, can we get this model back ported into a 5.5 tag?
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: