minor modification
authorChris Sharp <csharp@georgialibraries.org>
Tue, 11 Sep 2012 17:06:27 +0000 (13:06 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 11 Sep 2012 17:06:27 +0000 (13:06 -0400)
change_reports_owner.pl

index 8065af8..758d807 100755 (executable)
@@ -121,7 +121,7 @@ if (defined($email1) && defined($email2)) {
        $sth = $dbh->prepare("$update_schedule");
        $sth->execute($user_id2, $email1, $email2, $user_id1);
 } elsif (defined($email2)) {
-       my $update_schedule = qq/UPDATE reporter.schedule SET runner = ?, email = email || ? WHERE runner = ? AND complete_time IS NULL/;
+       my $update_schedule = qq/UPDATE reporter.schedule SET runner = ?, email = email || ' ' || ? WHERE runner = ? AND complete_time IS NULL/;
        $sth = $dbh->prepare("$update_schedule");
        $sth->execute($user_id2, $email2, $user_id1);
 } else {