Emerency upgrade of cms.class.php for php upgrade to 5.5