// data validation
//
if (!$title || !$body) {
- $this->setError(_('ArtifactCanned: name and assignee are Required'));
+ $this->setError(_('Title and Message Body are required'));
return false;
}
if (!forge_check_perm ('tracker_admin', $this->ArtifactType->Group->getID())) {
*
* @return array The array of ArtifactType objects.
*/
- function &getArtifactTypes() {
+ function getArtifactTypes() {
if ($this->ArtifactTypes) {
return $this->ArtifactTypes;
}
AND groups.status =$1
AND artifact_group_list.group_artifact_id=artifact_type_monitor.group_artifact_id
AND artifact_type_monitor.user_id=$2
-ORDER BY group_name DESC',
+ORDER BY group_name ASC',
array('A',
$this->User->getID()));
$rows=db_numrows($result);