Use strlen instead of empty cause PHP doesn't like string zero.
Better checking using trim and empty string.
Missed a trim.
Merge pull request #31 from jordandukart/7.x-FLVC-53

Use strlen instead of empty cause PHP doesn't like string zero.