Closed dzungdo closed 4 years ago
File ./functions/GetStuList.fnc.php, line 892:
mb_substr( $phone, 3, 4 ) . '-' . mb_substr( $phone, 7 );
Will return phone number as (123) 4567-890
I changed to: mb_substr( $phone, 3, 3 ) . '-' . mb_substr( $phone, 6 );
mb_substr( $phone, 3, 3 ) . '-' . mb_substr( $phone, 6 );
Which will format correctly for phone number in the US as (123) 456-7890
Hello @dzungdo
Thanks for the fix. It will come with RosarioSIS v7.3.
Please remember to open your issues at GitLab!
File ./functions/GetStuList.fnc.php, line 892:
mb_substr( $phone, 3, 4 ) . '-' . mb_substr( $phone, 7 );
Will return phone number as (123) 4567-890
I changed to:
mb_substr( $phone, 3, 3 ) . '-' . mb_substr( $phone, 6 );
Which will format correctly for phone number in the US as (123) 456-7890