mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 16:44:17 +02:00
PHP: Use ?:
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace Adminer;
|
||||
|
||||
$PROCEDURE = ($_GET["name"] ? $_GET["name"] : $_GET["procedure"]);
|
||||
$PROCEDURE = ($_GET["name"] ?: $_GET["procedure"]);
|
||||
$routine = (isset($_GET["function"]) ? "FUNCTION" : "PROCEDURE");
|
||||
$row = $_POST;
|
||||
$row["fields"] = (array) $row["fields"];
|
||||
|
Reference in New Issue
Block a user