From: Eric Bollengier Date: Wed, 15 Nov 2006 22:30:37 +0000 (+0000) Subject: ebl small fix X-Git-Tag: Release-2.0.0~288 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fca6ff2ce9d2f62e265b9dcc515db15841f3c3d7;p=bacula%2Fbacula ebl small fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3629 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index de6e1a2d8d..fc70854e55 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2856,6 +2856,9 @@ sub do_update_media if ($arg->{recyclepool}) { push @q, "RecyclePoolId=(SELECT PoolId FROM Pool WHERE Name='$arg->{recyclepool}')"; } + if (!$arg->{qcomment}) { + $arg->{qcomment} = "''"; + } push @q, "Comment=$arg->{qcomment}";