Follow Me: Fix issue with Destinations not displaying correctly.
This commit is contained in:
parent
1db81cf8a2
commit
131d96b60c
|
|
@ -441,6 +441,8 @@
|
||||||
$parameters['follow_me_uuid'] = $follow_me_uuid;
|
$parameters['follow_me_uuid'] = $follow_me_uuid;
|
||||||
$database = new database;
|
$database = new database;
|
||||||
$result = $database->select($sql, $parameters, 'all');
|
$result = $database->select($sql, $parameters, 'all');
|
||||||
|
|
||||||
|
unset($destinations);
|
||||||
foreach ($result as $x => &$row) {
|
foreach ($result as $x => &$row) {
|
||||||
$destinations[$x]['uuid'] = $row["follow_me_destination_uuid"];
|
$destinations[$x]['uuid'] = $row["follow_me_destination_uuid"];
|
||||||
$destinations[$x]['destination'] = $row["follow_me_destination"];
|
$destinations[$x]['destination'] = $row["follow_me_destination"];
|
||||||
|
|
@ -493,6 +495,7 @@
|
||||||
echo "});\n";
|
echo "});\n";
|
||||||
echo "</script>\n";
|
echo "</script>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
//create token
|
//create token
|
||||||
$object = new token;
|
$object = new token;
|
||||||
$token = $object->create($_SERVER['PHP_SELF']);
|
$token = $object->create($_SERVER['PHP_SELF']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue