spatie / laravel-activitylog

Log activity inside your Laravel app

Home Page:https://docs.spatie.be/laravel-activitylog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phone number field is not checked as a string and does not update correctly

MahdiBagheri71 opened this issue · comments

Describe the bug :

The phone number field that is defined as a string in the database does not work properly and is checked as a numeric value. For example, it does not distinguish between 0913 and 913, while there is a difference between these two strings and the record is updated.

To Reproduce:

Package: 4.7
Expected behavior The phone number field should be checked as a string and its changes should be recorded in the database.

Versions:

PHP: 8.2
Database: mysql
Laravel: 10.0
Package: 4.7

Have you tried to use useAttributeRawValues?

This tells ActiviyLogger to use the Raw value of attributes instead of casting them

Have you tried to use useAttributeRawValues?

This tells ActiviyLogger to use the Raw value of attributes instead of casting them

not work :(

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.