Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed give to poor bug

Discussion in 'Sportsbook Resolved Bug Reports' started by tajhay, Jul 2, 2012.

  1. tajhay

    tajhay Active Member AMS Premium CAS Premium SC Premium Pickem Power Rankings Sportsbook Survivor

    there is a bug.

    let me explain.
    1) you can only bet whole dollars amounts.
    2) the job to 'give to the poor' only gives when their balance is at zero (i.e. zero cents).

    now i have a balance of 50 cents. I cant bet using that amount, nor can i get the minimum 'give to the poor amount.

    what can i do?

  2. Bob

    Bob Developer Staff Member

    okies.. quick fix for this..

    It requires a simple file edit.

    Edit the file: /library/XI/Sportsbook/Model/Cash.php

    Its the last method in the file: public function cronGiveToThePoor()

    edit line 205:
    currently reads WHERE sportsbook_cash = 0
    CHANGE to WHERE sportsbook_cash < 1

    You can also change that to something like WHERE sportsbook_cash < 25 if you wanted to give to the poor at a higher number than 0

    This is fixed in the next version.
    ArnyVee likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.