Skip to content

Commit

Permalink
Update datautil.php: rename some settings
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 18, 2023
1 parent 175a706 commit 18a63bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html/includes/datautil.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public function getStartup() {
$haveDatabase = $this->haveDatabase();

if ($haveDatabase) {
$angle = $settings_array['angle'];
$lat = $settings_array['latitude'];
$lon = $settings_array['longitude'];
$angle = $settings_array['_angle'];
$lat = $settings_array['_latitude'];
$lon = $settings_array['_longitude'];

$tod = 'Unknown';
exec("sunwait poll exit set angle $angle $lat $lon", $return, $retval);
Expand Down

0 comments on commit 18a63bb

Please sign in to comment.