mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 02:54:28 +02:00
Replace isset($var) by $var !== null
This commit is contained in:
@@ -17,7 +17,7 @@ class AdminerFileUpload {
|
||||
*/
|
||||
function AdminerFileUpload($uploadPath = "../static/data/", $displayPath = null, $extensions = "[a-zA-Z0-9]+") {
|
||||
$this->uploadPath = $uploadPath;
|
||||
$this->displayPath = (isset($displayPath) ? $displayPath : $uploadPath);
|
||||
$this->displayPath = ($displayPath !== null ? $displayPath : $uploadPath);
|
||||
$this->extensions = $extensions;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user