From 1839a4f36c3bc87e53a2ea5409aa12b03f46d8d3 Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Wed, 13 Dec 2006 17:51:26 +0100 Subject: [PATCH] [svn r10490] path real progress bar for the upload --- main/inc/lib/formvalidator/FormValidator.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/formvalidator/FormValidator.class.php b/main/inc/lib/formvalidator/FormValidator.class.php index 598e26c8cd..a84c02adbd 100644 --- a/main/inc/lib/formvalidator/FormValidator.class.php +++ b/main/inc/lib/formvalidator/FormValidator.class.php @@ -226,7 +226,7 @@ EOT; */ function add_real_progress_bar($upload_id, $delay=2) { - if(phpversion()<'5.2') + if(function_exists('uploadprogress_get_info')) { $this -> add_progress_bar($delay); return;