mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Check section_id > 0 when returning library details
This commit is contained in:
parent
32c05136bd
commit
133335a3fb
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ class Libraries(object):
|
|||
'deleted_section': 0
|
||||
}
|
||||
|
||||
if not section_id:
|
||||
if not section_id or helpers.cast_to_int(section_id) <= 0:
|
||||
return default_return
|
||||
|
||||
def get_library_details(section_id=section_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue