Skip to content

Commit

Permalink
Dont use max value based on points
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Oct 24, 2017
1 parent e2312fa commit e515c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page_objects/guildauction_pageobject.class.php
Expand Up @@ -128,7 +128,7 @@ public function display(){
'DD_MYCHARS' => (new hdropdown('memberid', array('value' => $mainchar, 'js' => 'onchange="getcurrentdkp(this.value)"', 'options' => $this->pdh->aget('member', 'name', 0, array($this->pdh->get('member', 'connection_id', array($this->user->data['user_id'])))))))->output(),
'MY_DKPPOINTS' => $available_points,
'DKP_NAME' => $this->config->get('dkp_name'),
'BID_SPINNER' => (new hspinner('bidvalue', array('value' => $bidspinner, 'step'=> 10, 'min' => $bidspinner, 'max' => $points, 'onlyinteger' => true)))->output(),
'BID_SPINNER' => (new hspinner('bidvalue', array('value' => $bidspinner, 'step'=> 10, 'min' => $bidspinner, 'max' => ($bidspinner+100), 'onlyinteger' => true)))->output(),
'TIMELEFT' => $this->pdh->get('guildbank_auctions', 'atime_left_html', array($this->url_id)),
'BUTTON_DISABLED' => ($actual_bid+$bidsteps > $available_points|| $startvalue > $available_points) ? 'disabled="disabled"' : '',
'NEXT_BID_AMOUNT' => $bidspinner,
Expand Down

0 comments on commit e515c5e

Please sign in to comment.