Fixed a bug in OpenWeb.class.php