]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Raids.pm
Use escape string literal
[ndwebbie.git] / 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)