Nettoyage du code

This commit is contained in:
Rodolphe Quiedeville 2003-08-25 10:54:14 +00:00
parent b368d556d6
commit f54a641cb1
2 changed files with 5 additions and 5 deletions

View File

@ -24,8 +24,6 @@ require("./pre.inc.php");
llxHeader(); llxHeader();
$db = new Db();
if ($action == 'add') { if ($action == 'add') {
$album = new Album($db); $album = new Album($db);

View File

@ -24,11 +24,13 @@ require("./pre.inc.php");
llxHeader(); llxHeader();
$db = new Db(); if ($sortfield == "")
if ($sortfield == "") { {
$sortfield="lower(a.title)"; $sortfield="lower(a.title)";
} }
if ($sortorder == "") {
if ($sortorder == "")
{
$sortorder="ASC"; $sortorder="ASC";
} }