Try to fix build.
Try to fix build.

It looks like mb_substr() doesn’t cope well with NULL as the third parameter in PHP 5.3.

dnmvisser/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,dnmvisser/simplesamlphp,simplesamlphp/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp