Replace deprecated defaults() calls with ?? and ?: in include/ and view/
This commit is contained in:
parent
c0b78a9720
commit
8b836189d4
11 changed files with 30 additions and 30 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue