forked from cromer/pamac-classic
fix for possible null string
This commit is contained in:
parent
278fd3f15c
commit
5af2f493ff
@ -56,7 +56,7 @@ namespace Pamac {
|
|||||||
size = 0;
|
size = 0;
|
||||||
size_string = "";
|
size_string = "";
|
||||||
url = aur_json.get_string_member ("URL");
|
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;
|
reason = 0;
|
||||||
} else {
|
} else {
|
||||||
name = "";
|
name = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user