diff --git a/forms/AjaxUniqueTextField.php b/forms/AjaxUniqueTextField.php index ff84a97dd..d24f16681 100644 --- a/forms/AjaxUniqueTextField.php +++ b/forms/AjaxUniqueTextField.php @@ -105,7 +105,7 @@ JS; } - function validate( $validate ) { + function validate( $validator ) { $result = DB::query(sprintf( "SELECT COUNT(*) FROM `%s` WHERE `%s` = '%s'",