Removed redundant form_types functions and the file /reporting/includes/form_types...
[fa-stable.git] / includes / ui / ui_view.inc
index 639aea0b9acdc661867b09e92dd9029d0e1432fc..f34a443b47a45205922ffd9aa7d4acbba3fec8bf 100644 (file)
@@ -1113,4 +1113,17 @@ if (!function_exists('_vd'))
        }
 }
 
+/* ************************************** Backward compatible */
+function do_clone($object)
+{
+       if (version_compare(phpversion(), '5.0') < 0)
+       {
+               return $object;
+       }
+       else
+       {
+               return @clone($object);
+       }
+}
+
 ?>
\ No newline at end of file