Fix errors
This commit is contained in:
parent
9ae0112ceb
commit
1f6868a9cf
@ -2888,7 +2888,7 @@ function show_shop_items($it, $from = 'shop')
|
||||
* @param bool $returned
|
||||
* @return string
|
||||
*/
|
||||
function showitem($row, $type, $returned = false)
|
||||
function showitem($row, $type = 0, $returned = false)
|
||||
{
|
||||
global $user, $runes_exp;
|
||||
$returnHTML = '';
|
||||
@ -2906,7 +2906,7 @@ function showitem($row, $type, $returned = false)
|
||||
$magic['time'] = $incmagic['time'];
|
||||
$magic['targeted'] = $incmagic['targeted'];
|
||||
}
|
||||
if (@!$row['count'] || $type == 10) {
|
||||
if (!$row['count'] || $type == 10) {
|
||||
|
||||
$up = ($row['upgrade'] > 0 ? " <font color=blue><b>[" . $row['upgrade'] . "]</b></font>" : "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user