Make embed image option re-appear whith cookies disabled

This commit is contained in:
Daniel Winzen
2016-05-17 09:55:52 +02:00
parent eb13ee2d2f
commit b053e18e11

View File

@ -1776,7 +1776,7 @@ function send_profile($arg=''){
echo '<tr><td>'.style_this("$U[nickname] : $I[fontexample]", $U['style']).'</td></tr>';
thr();
$bool_settings=['timestamps', 'nocache'];
if(get_setting('imgembed') && isSet($_COOKIE[COOKIENAME])){
if(get_setting('imgembed')){
$bool_settings[]='embed';
}
if($U['status']>=5 && get_setting('incognito')){