summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0094735)
raw | patch | inline | side by side (parent: 0094735)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Apr 2007 06:52:34 +0000 (06:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Apr 2007 06:52:34 +0000 (06:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6107 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/macro/class_gofonMacro.inc | patch | blob | history |
index 4c3c40a8f6589e0f75dea453c03b2dae89f95d7a..cbcc99951847697a8b1deb00120706badb92f206 100755 (executable)
$res = @mysql_query($query,$r_con);
if(!$res){
gosa_log(@mysql_error($r_con));
+ gosa_log($query);
return(sprintf(_("Insert of new macro failed for server '%s'."),$cfg['SERVER']));
}
@mysql_close($r_con);
$message[] = _("Makro length must be lower than 100 lines");
}
+ /* Macro content must be smaller than 100 lines */
+ if(empty($this->goFonMacroContent)){
+ $message[] = _("You can't save an empty macro.");
+ }
return $message;
}