forked from hummypkg/webif
Fix crash when genre is null
This commit is contained in:
parent
ad150143a8
commit
67afb37f27
@ -817,7 +817,8 @@ ts method tsr {} {
|
||||
}
|
||||
|
||||
ts method genrenib {} {
|
||||
return $($genre >> 4)
|
||||
if {[catch {set v $($genre >> 4)}]} { set v 0 }
|
||||
return $v
|
||||
}
|
||||
|
||||
ts method genre_info {} {
|
||||
|
Loading…
Reference in New Issue
Block a user