Fixed source compatibility to PHP 5.0, fixed bug in epassword reset feature.
[fa-stable.git] / sales / includes / ui / sales_order_ui.inc
index 043d2514b5d2d4184576f84cb53d0dc44316b578..c1209dc758269c4abf39140bc47d77b7ead351bd 100644 (file)
@@ -295,7 +295,7 @@ function display_order_header(&$order, $editable, $date_text)
                        else
                        {
 
-                               $old_order = (PHP_VERSION<5) ? $order : clone( $order );
+                               $old_order = (PHP_VERSION<5) ? $order : clone $order;
 
                                $customer_error = get_customer_details_to_order($order, $_POST['customer_id'], $_POST['branch_id']);
                                $_POST['Location'] = $order->Location;