The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Division by zero problem.
I am not a coder so I am hoping someone here can help me with a p[roblem I am having witha module for vbadvanced cmps. I added a "latest links" module and I get was trying to get a rating image to show and I get this error:
Division by zero in /modules/latestlinks.php on line 69 Line 69: Code:
$link['truerating'] = vb_number_format($link['votetotal'] / $link['votenum'], 2); I should mention that this only happens if there is a link with no votes. If a link has a rating the error doesnt show up. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|