1
0
Fork 0

Replace deprecated defaults() calls with ?? and ?: in include/ and view/

This commit is contained in:
Hypolite Petovan 2019-10-16 08:43:59 -04:00
commit 8b836189d4
11 changed files with 30 additions and 30 deletions

View file

@ -10,7 +10,7 @@ if (file_exists("$THEMEPATH/style.css")) {
echo file_get_contents("$THEMEPATH/style.css");
}
$uid = defaults($_REQUEST, 'puid', 0);
$uid = $_REQUEST['puid'] ?? 0;
$s_colorset = Config::get('duepuntozero', 'colorset');
$colorset = PConfig::get($uid, 'duepuntozero', 'colorset');