diff options
| -rw-r--r-- | data/doc/sisu/CHANGELOG_v4 | 2 | ||||
| -rw-r--r-- | lib/sisu/v4/param.rb | 3 | 
2 files changed, 4 insertions, 1 deletions
| diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index da105e62..c47857c1 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -34,6 +34,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.0.17.orig.tar.xz    * provide info as to where manually created homepages may be stored    * do not make default sisu homepage (previously did) +* v4: param, guard against situation where no document creator/author given +  %% 4.0.16.orig.tar.xz (2013-03-18:11/1)  http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.0.16  http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_4.0.16-1 diff --git a/lib/sisu/v4/param.rb b/lib/sisu/v4/param.rb index 360625e4..035697c9 100644 --- a/lib/sisu/v4/param.rb +++ b/lib/sisu/v4/param.rb @@ -1154,7 +1154,8 @@ module SiSU_Param                  tf="@title: #{tf}"                  @title=SiSU_Param::Parameters::Md.new(tf.strip,@opt,@env).title                end -              creator=(defined? @creator.author \ +              creator=(@creator.is_a?(SiSU_Param::Parameters::Md) \ +              && defined? @creator.author \                && @creator.author.is_a?(String)) \                ? " #{@creator.author}"                : '' | 
