Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
Merge pull request #128 from sergioag/master
Browse files Browse the repository at this point in the history
Fix 2 more strict warnings
  • Loading branch information
nabeelio committed Nov 10, 2014
2 parents b59349e + b79520d commit 2f631a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/classes/Vars.class.php
Expand Up @@ -58,6 +58,7 @@ public static function setParameters()
{
self::$post = new stdClass();
self::$get = new stdClass();
self::$request = new stdClass();

foreach($_POST as $key=>$value)
{
Expand Down
2 changes: 1 addition & 1 deletion core/common/OFCharts.class.php
Expand Up @@ -204,7 +204,7 @@ public static function create_line_graph($title)
self::show_chart($title);
}

protected function show_chart($title)
protected static function show_chart($title)
{
$title = new title($title);

Expand Down
2 changes: 1 addition & 1 deletion core/common/SchedulesData.class.php
Expand Up @@ -811,7 +811,7 @@ public static function getBidWithRoute($pilotid, $code, $flightnum)
return DB::get_row($sql);
}

public function setBidOnSchedule($scheduleid, $bidid)
public static function setBidOnSchedule($scheduleid, $bidid)
{
$scheduleid = intval($scheduleid);
$bidid = intval($bidid);
Expand Down

0 comments on commit 2f631a6

Please sign in to comment.