X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Foptions.php;h=5bdedadb0eee282d31ad0f8a576dba2f2091c4ad;hb=ebabf3f556ea49f05496e97d7cf82d7511ab6925;hp=1828271598096f724798f3f91bcfcffaeec97ab8;hpb=be2d549570f1501e50b89557351aa3b0372e2e36;p=squirrelmail.git diff --git a/functions/options.php b/functions/options.php index 18282715..5bdedadb 100644 --- a/functions/options.php +++ b/functions/options.php @@ -330,7 +330,7 @@ class SquirrelOption { } function save_option($option) { - if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { + if ( !check_php_version(4,1) ) { global $_SESSION; } global $data_dir;