]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1478012 Phab allows projects to have empty descriptions so Project.pm in PhabBugz...
authordklawren <dklawren@users.noreply.github.com>
Wed, 25 Jul 2018 20:36:47 +0000 (16:36 -0400)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 20:36:47 +0000 (16:36 -0400)
extensions/PhabBugz/lib/Project.pm

index 3d93e2f04b1ed53ecca20c325ece67362daf518b..b93a6eb9e01ca15a3824cbb6cc1053dbbc43b171 100644 (file)
@@ -26,7 +26,7 @@ has id              => ( is => 'ro', isa => Int );
 has phid            => ( is => 'ro', isa => Str );
 has type            => ( is => 'ro', isa => Str );
 has name            => ( is => 'ro', isa => Str );
-has description     => ( is => 'ro', isa => Str );
+has description     => ( is => 'ro', isa => Maybe[Str] );
 has creation_ts     => ( is => 'ro', isa => Str );
 has modification_ts => ( is => 'ro', isa => Str );
 has view_policy     => ( is => 'ro', isa => Str );