diff --git a/www/libs/Class.DB.IO.inc b/www/libs/Class.DB.IO.inc index 685a85ae..0a962e1c 100644 --- a/www/libs/Class.DB.IO.inc +++ b/www/libs/Class.DB.IO.inc @@ -523,7 +523,8 @@ // msg -> optional message // RETURN none // DESC if error_id set, writes long error string into error_msg - private function _db_error($cursor = '', $msg = '') + // MARK: needed to make public so it can be called from DB.Array.IO too + public function _db_error($cursor = '', $msg = '') { $where_called = $this->get_caller_method(); if ($cursor) diff --git a/www/libs/Class.Form.Generate.inc b/www/libs/Class.Form.Generate.inc index f61fd5fb..01506f4d 100644 --- a/www/libs/Class.Form.Generate.inc +++ b/www/libs/Class.Form.Generate.inc @@ -933,7 +933,6 @@ // this one also allows @ and . case "alphanumericextended": //$this->debug('edit', 'IN Alphanumeric'); - $this->debug('REGEX CHECK', 'ANE: '.$this->table_array[$key]["value"]); if (!preg_match("/^[0-9A-Za-z_\-@\.]+$/", $this->table_array[$key]["value"])) $this->msg .= sprintf($this->l->__("Please enter a valid alphanumeric extended (Numbers, Letters, -, _, @ and . only, no spaces) value for the %s Field!
"), $this->table_array[$key]["output_name"]); break;