* Copyright 2004, Sung Kim/GForge, LLC
* Copyright 2009, Roland Mas
* Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
+ * Copyright 2013, Franck Villaume - TrivialDev
*
* This file is part of FusionForge. FusionForge is free software;
* you can redistribute it and/or modify it under the terms of the
$this->setError(_('Survey').':: '.$Group->getErrorMessage());
return false;
}
+ if (!$Group->usesSurvey()) {
+ $this->setError(sprintf(_('%s does not use the Survey tool'),
+ $Group->getPublicName()));
+ return false;
+ }
$this->Group =& $Group;
}
// mode: php
// c-file-style: "bsd"
// End:
-
-?>