summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boost.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost.module b/boost.module
index 71d5bc3..9a0cf4e 100644
--- a/boost.module
+++ b/boost.module
@@ -353,7 +353,7 @@ function boost_form_alter(&$form, $form_state, $form_id) {
// Added below due to this bug: http://drupal.org/node/276615
if ( variable_get('preprocess_css', FALSE)==TRUE
- && floatval(VERSION) <= 6.13
+ && version_compare(VERSION, 6.13, '<=')
&& boost_cache_clear_all()
) {
drupal_set_message(t('Boost: Static page cache cleared. See <a href="http://drupal.org/node/276615">http://drupal.org/node/276615</a> for reason why (core bug that is fixed in 6.14+).'), 'warning');