[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / applications / dimensions.php
index 7442c33ca680f241b68987b302aeba30648fc7d2..605710d7362c9fa91319d59784ef57669558aeb8 100644 (file)
 ***********************************************************************/
 class dimensions_app extends application
 {
-       function dimensions_app()
+       function __construct()
        {
                $dim = get_company_pref('use_dimension');
-               $this->application("proj", _($this->help_context = "&Dimensions"), $dim);
+               parent::__construct("proj", _($this->help_context = "&Dimensions"), $dim);
 
                if ($dim > 0)
                {
@@ -40,4 +40,3 @@ class dimensions_app extends application
        }
 }
 
-?>
\ No newline at end of file