Added what I've changed to devel CVS. (conf.pl rework, CRAM/DIGEST-MD5, config overri...
[squirrelmail.git] / functions / options.php
index 1828271598096f724798f3f91bcfcffaeec97ab8..5bdedadb0eee282d31ad0f8a576dba2f2091c4ad 100644 (file)
@@ -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;