Added default sort=0 option. Sorts all the messages by date in decending
[squirrelmail.git] / plugins / squirrelspell / sqspell_functions.php
index a3acfeb0400f681f74845a22681d64f403ae4b77..15d5c3172b494034c4ce19b99cf3666d88d332cb 100644 (file)
@@ -4,7 +4,7 @@
  * ----------------------
  * All SquirrelSpell-wide functions are in this file.
  *
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2003 The SquirrelMail development team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * $Id$
@@ -28,7 +28,7 @@
 function sqspell_makePage($title, $scriptsrc, $body){
   global $color, $SQSPELL_VERSION;
 
-  if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) {
+  if ( !check_php_version(4,1) ) {
       global $_GET;
   }
   if (isset($_GET['MOD'])) {