diff --git a/include/functions.php b/include/functions.php
index 9a8d4f73..e19205f1 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2124,6 +2124,7 @@ function mkprettytime($s) {
if ($s < 0)
$s = 0;
$t = array();
+ $s = round($s);
foreach (array("60:sec","60:min","24:hour","0:day") as $x) {
$y = explode(":", $x);
if ($y[0] > 1) {
@@ -4153,7 +4154,8 @@ function getimdb($imdb_id, $cache_stamp, $mode = 'minor')
}
else { //for tv series
$creator = $movie->creator();
- $director_or_creator = "".$lang_functions['text_creator'].": ".$creator;
+ $names = array_column($creator, "name");
+ $director_or_creator = "".$lang_functions['text_creator'].": ".implode(", ", $names);
}
$cast = $movie->cast();
$temp = "";
diff --git a/public/claim.php b/public/claim.php
index 9a4b323e..89a97f60 100644
--- a/public/claim.php
+++ b/public/claim.php
@@ -57,13 +57,13 @@ $sortOptions = $orderOptions = '';
foreach ($sortAllowed as $name => $text) {
$sortOptions .= sprintf(
'',
- $name, $_GET['sort'] == $name ? ' selected' : '', $text
+ $name, isset($_GET['sort']) && $_GET['sort'] == $name ? ' selected' : '', $text
);
}
foreach ($orderAllowed as $name => $text) {
$orderOptions .= sprintf(
'',
- $name, $_GET['order'] == $name ? ' selected' : '', $text
+ $name, isset($_GET['order']) && $_GET['order'] == $name ? ' selected' : '', $text
);
}
$resetText = nexus_trans('label.reset');