[otrs-cvs] FAQ/Kernel/System FAQ.pm,1.164,1.165
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/FAQ/Kernel/System
In directory lancelot:/tmp/cvs-serv1581/Kernel/System
Modified Files:
FAQ.pm
Log Message:
Fixed Bug# 9041 - Missing TypeID in FAQ StateGet() API.
Author: cr
Index: FAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/System/FAQ.pm,v
retrieving revision 1.164
retrieving revision 1.165
diff -2 -u -d -r1.164 -r1.165
--- FAQ.pm 2 Jan 2013 11:08:30 -0000 1.164
+++ FAQ.pm 12 Jan 2013 03:35:03 -0000 1.165
@@ -2978,7 +2978,7 @@
%State = (
- StateID => 1,
- Name => 'internal (agent)',
- Comment => undef,
+ StateID => 1,
+ Name => 'internal (agent)',
+ TypeID => 1,
);
@@ -3001,5 +3001,5 @@
# sql
return if !$Self->{DBObject}->Prepare(
- SQL => 'SELECT id, name FROM faq_state WHERE id = ?',
+ SQL => 'SELECT id, name, type_id FROM faq_state WHERE id = ?',
Bind => [ \$Param{StateID} ],
Limit => 1,
@@ -3011,5 +3011,5 @@
StateID => $Row[0],
Name => $Row[1],
- Comment => $Row[2],
+ TypeID => $Row[2],
);
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log