]> ruin.nu Git - ndwebbie.git/commitdiff
Use escape string literal
authorMichael Andreen <harv@ruin.nu>
Sat, 6 Feb 2010 12:05:08 +0000 (13:05 +0100)
committerMichael Andreen <harv@ruin.nu>
Sat, 6 Feb 2010 12:05:08 +0000 (13:05 +0100)
lib/NDWeb/Controller/Raids.pm

index 26e915764e961fc57b25c44da5c0a2a81a826a80..b756d565b13191ffa59315a93ede926b408d2adb 100644 (file)
@@ -734,7 +734,7 @@ INSERT INTO raid_targets(raid,pid,comment) (
        SELECT $1,pid,array_to_string(array_agg(
                        fleet || ': eta=' || eta || ', amount=' || amount || ', type=' || shiptype
                                || ' landing=' || landing_tick || 'back=' || landing_tick + eta
-               ),'\n')
+               ),E'\n')
        FROM calls c
                JOIN incomings i USING (call)
                JOIN current_planet_stats p USING (pid)