mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkgbase.php: Add default title
Instead of triggering a PHP warning and using an empty title if no package base is specified, use a default title. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
92049e8061
commit
e724b123ec
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if (!isset($base_id) || !isset($pkgbase_name)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the title to package base name. */
|
/* Set the title to package base name. */
|
||||||
$title = $pkgbase_name;
|
$title = isset($pkgbase_name) ? $pkgbase_name : __("Package Bases");
|
||||||
|
|
||||||
/* Grab the list of package base IDs to be operated on. */
|
/* Grab the list of package base IDs to be operated on. */
|
||||||
$ids = array();
|
$ids = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue