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
Quando realizei um delete usando Cascade, em alguns casos o campo model_id estava entrando como um array no formato array('Model.id' => 'value'), então alterei os métodos: takeSnapshot e logQuery alterando a informação sobre o Id para o seguinte:
Quando realizei um delete usando Cascade, em alguns casos o campo model_id estava entrando como um array no formato array('Model.id' => 'value'), então alterei os métodos: takeSnapshot e logQuery alterando a informação sobre o Id para o seguinte:
$id = (is_array($Model->id)) ? current($Model->id) : $Model->id;
The text was updated successfully, but these errors were encountered: