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
Symptom: a value like '036876' that shall be saved as string in database is saved as '36876' (leading zero stripped off).
Reason: TgDatabase\Database class method prepareValue() decides on is_numeric() only whether the value needs quoting or not. Leading zeros are stripped of then when saving to database because the quotes are missing.
The text was updated successfully, but these errors were encountered:
Symptom: a value like '036876' that shall be saved as string in database is saved as '36876' (leading zero stripped off).
Reason:
TgDatabase\Database
class methodprepareValue()
decides onis_numeric()
only whether the value needs quoting or not. Leading zeros are stripped of then when saving to database because the quotes are missing.The text was updated successfully, but these errors were encountered: