Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mbearss

    (@mbearss)

    I have noticed the issue occurring when the nominations are pending, approved, or denied. The only way I can get a nomination to occur is by modifying the code, or deleting the row from _postmeta.

    Thread Starter mbearss

    (@mbearss)

    In function badgeos_create_nomination() line 47

    before the nomination is inserted

    if ( ! badgeos_check_if_user_has_nomination( absint( $user_nominated ), absint( $achievement_id ) ) ) {

    Following that call

    function badgeos_check_if_user_has_nomination( $user_id = 0, $achievement_id = 0 ) {
    	return badgeos_check_if_user_has_feedback( $user_id, $achievement_id, 'nomination' );
    }

    It would seem from the function name that it would check feedback, but this check is causing the nomination to fail.

Viewing 2 replies - 1 through 2 (of 2 total)