[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d6d7984aac204cfb374ac571b3b2871bf6aeabd5
Ivan
ivan at 420.am
Tue Jun 4 01:07:11 PDT 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via d6d7984aac204cfb374ac571b3b2871bf6aeabd5 (commit)
from 07cf4759def9bfb9da5b94075257ea03f664877c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d6d7984aac204cfb374ac571b3b2871bf6aeabd5
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jun 4 01:07:08 2013 -0700
apply the RT 3.8.17/4.0.13 database fix automatically, RT#13852, RT#17928
diff --git a/FS/FS/TicketSystem.pm b/FS/FS/TicketSystem.pm
index 165856e..7b18575 100644
--- a/FS/FS/TicketSystem.pm
+++ b/FS/FS/TicketSystem.pm
@@ -319,6 +319,17 @@ sub _upgrade_data {
}
}
+ #Pg-specific
+ my $cve_2013_3373_sql = q(
+ UPDATE Tickets SET Subject = REPLACE(Subject,E'\n','')
+ );
+ #need this for mysql
+ #UPDATE Tickets SET Subject = REPLACE(Subject,'\n','');
+
+ my $cve_2013_3373_sth = $dbh->prepare( $cve_2013_3373_sql)
+ or die $dbh->errstr;
+ $cve_2013_3373_sth->execute or die $cve_2013_3373_sth->errstr;
+
return;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/TicketSystem.pm | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list