Skip to content

Commit

Permalink
piwigo: Fix title and coments on uploaded files
Browse files Browse the repository at this point in the history
Boolean is hard, part II.

Regression introduced by 9d2b698

Signed-off-by: Jens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=776664
  • Loading branch information
phako committed Jan 4, 2017
1 parent 809b4cd commit 33b101f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/shotwell-publishing/PiwigoPublishing.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ private class ImagesAddTransaction : Publishing.RESTSupport.UploadTransaction {
string name = publishable.get_publishing_name();
string comment = publishable.get_param_string(
Spit.Publishing.Publishable.PARAM_STRING_COMMENT);
if (name != "") {
if (name == null || name == "") {
name = publishable.get_param_string(
Spit.Publishing.Publishable.PARAM_STRING_BASENAME);
add_argument("name", name);
Expand Down

0 comments on commit 33b101f

Please sign in to comment.