Applied change suggested in bug 5733. $Text should be dereferenced while counting its length.
Applied change suggested in bug 5733. $Text should be dereferenced while counting its length.

djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test