KarolGil
3 months ago

Laravel - original data from model

Posted 3 months ago by KarolGil

Hi,

How can I get the original data? Because the attributes change my surname, and I don't know why.

      #attributes: array:5 [
        "id" => 2799
        "name" => "Катерина"
        "surname" => b"Ð"
        "photo" => null
        "photoThumbnail" => null
      ]
      #original: array:3 [
        "id" => 2799
        "name" => "Катерина"
        "surname" => "Середа"
      ]

Please sign in or create an account to participate in this conversation.