Nettoyage du code
This commit is contained in:
parent
b368d556d6
commit
f54a641cb1
@ -24,8 +24,6 @@ require("./pre.inc.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
$db = new Db();
|
||||
|
||||
if ($action == 'add') {
|
||||
$album = new Album($db);
|
||||
|
||||
|
||||
@ -24,11 +24,13 @@ require("./pre.inc.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
$db = new Db();
|
||||
if ($sortfield == "") {
|
||||
if ($sortfield == "")
|
||||
{
|
||||
$sortfield="lower(a.title)";
|
||||
}
|
||||
if ($sortorder == "") {
|
||||
|
||||
if ($sortorder == "")
|
||||
{
|
||||
$sortorder="ASC";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user