From: Maxious Date: Sun, 23 Sep 2012 07:05:49 +0000 Subject: add prefix for positions X-Git-Url: https://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=9b494cfdc6446fe3b632bc59fb665c77d9a6dc45 --- add prefix for positions Former-commit-id: 2eb28a3a36f76484db67773b1c6df6f238257aad --- --- a/alaveteli/exportAgencies.csv.php +++ b/alaveteli/exportAgencies.csv.php @@ -58,7 +58,11 @@ $otherBodies = array_merge($otherBodies, $agency->value->foiBodies); } if (isset($agency->value->positions)) { - $otherBodies = array_merge($otherBodies, $agency->value->positions); + $positions = Array(); + foreach ($agency->value->positions as $position) { + $positions[] = "Office of the ".$position; + } + $otherBodies = array_merge($otherBodies, $positions); } sort($otherBodies); if (count($otherBodies) > 0) {