Bug #2492 ยป 2492.patch
components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php | ||
---|---|---|
|
||
pbcbRatings::_getLanguageFile();
|
||
|
||
$sql = 'SELECT AVG(postervote) FROM #__comprofiler_plug_profilebook WHERE userid = ' . (int) $user->id;
|
||
$sql = 'SELECT AVG(postervote) FROM #__comprofiler_plug_profilebook WHERE userid = ' . (int) $user->id . ' AND postervote > 0';
|
||
$_CB_database->setQuery( $sql );
|
||
$value = $_CB_database->loadResult();
|
||
|