Empty commit

This commit is contained in:
Git 2012-12-09 08:00:20 +00:00
parent 894fdf2d12
commit 494d38fff5
2 changed files with 3 additions and 2 deletions

View File

@ -1629,7 +1629,7 @@ CREATE TABLE `xbt_snatched` (
CREATE DEFINER=`root`@`localhost` FUNCTION `binomial_ci`(p int, n int) RETURNS float
DETERMINISTIC
SQL SECURITY INVOKER
RETURN IF(n = 0,0.0,((p + 1.9208) / n - 1.96 * SQRT((p * (n-p)) / n + 0.9604) / n) / (1 + 3.8416 / n));
RETURN IF(n = 0,0.0,((p + 1.35336) / n - 1.6452 * SQRT((p * (n-p)) / n + 0.67668) / n) / (1 + 2.7067 / n));
SET FOREIGN_KEY_CHECKS = 1;

View File

@ -208,7 +208,8 @@ function check_paranoia_here($Setting) {
</div>
<div class="sidebar">
<? if ($Avatar && empty($HeavyInfo['DisableAvatars'])) {
<?
if ($Avatar && Users::has_avatars_enabled()) {
if(check_perms('site_proxy_images') && !empty($Avatar)) {
$Avatar = 'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&amp;avatar='.$UserID.'&amp;i='.urlencode($Avatar);
}