fix for possible null string
This commit is contained in:
parent
278fd3f15c
commit
5af2f493ff
@ -56,7 +56,7 @@ namespace Pamac {
|
||||
size = 0;
|
||||
size_string = "";
|
||||
url = aur_json.get_string_member ("URL");
|
||||
licenses = aur_json.get_string_member ("License");
|
||||
licenses = aur_json.get_string_member ("License") ?? dgettext (null, "Unknown");
|
||||
reason = 0;
|
||||
} else {
|
||||
name = "";
|
||||
|
Loading…
Reference in New Issue
Block a user