Page MenuHomeCode

No OneTemporary

diff --git a/content/scenes/B00001002.tpl b/content/scenes/B00001002.tpl
--- a/content/scenes/B00001002.tpl
+++ b/content/scenes/B00001002.tpl
@@ -1,7 +1,7 @@
-{$xyz = explode(',', substr($CurrentPerso->location_local, 1 -1))}
+{$xyz = explode(',', substr($CurrentPerso->location_local, 1, -1))}
{$x = $xyz[0]}{$y = $xyz[1]}{$z = $xyz[2]}
<p>
Secteur C<span id="sector">{GeoOctocube::get_sector($x, $y, $z)}</span><br />
- Niveau <span id="level">{$z}</span><br />
- Zone <span id="area">{abs($x)}, {abs($y)}</span>
+ Niveau <span id="level">{abs($z)}</span><br />
+ Zone <span id="area">{abs($x)}-{abs($y)}</span>
</p>
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 16:44 (5 h, 52 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
21138
Default Alt Text
(668 B)

Event Timeline