summaryrefslogtreecommitdiff
path: root/FS/FS/dsl_note.pm
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-03 23:38:27 +0000
committerlevinse <levinse>2010-12-03 23:38:27 +0000
commitf626fd72d814be2245c5cf7b2fd3e63b0e8164b4 (patch)
tree8a50ab15ae48b208f95fedfabd5bae91bc08f779 /FS/FS/dsl_note.pm
parent2dced43b8c6083fa0ff7bbe2120c1387c8a2b604 (diff)
fix use of reserved sql word in dsl_note schema, RT7111/RT10806
Diffstat (limited to 'FS/FS/dsl_note.pm')
-rw-r--r--FS/FS/dsl_note.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/dsl_note.pm b/FS/FS/dsl_note.pm
index 0155cbd..832fced 100644
--- a/FS/FS/dsl_note.pm
+++ b/FS/FS/dsl_note.pm
@@ -34,7 +34,7 @@ FS::Record. The following fields are currently supported:
=item svcnum - the DSL for this note, see L<FS::svc_dsl>
-=item user - export-specific, e.g. note's author or ISP vs. telco/vendor
+=item author - export-specific, e.g. note's author or ISP vs. telco/vendor
=item priority - export-specific, e.g. high priority or not; not used by most
@@ -105,7 +105,7 @@ sub check {
my $error =
$self->ut_numbern('notenum')
|| $self->ut_foreign_key('svcnum', 'svc_dsl', 'svcnum')
- || $self->ut_textn('user')
+ || $self->ut_textn('author')
|| $self->ut_alphasn('priority')
|| $self->ut_numbern('_date')
|| $self->ut_text('note')