mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix uninitialized stdClass in rarely used method
This commit is contained in:
parent
3bd25f9538
commit
508b6ed340
24 changed files with 68 additions and 19 deletions
|
|
@ -176,6 +176,7 @@ class counterController extends counter
|
|||
$args->site_srl = $site_srl;
|
||||
$query_id = 'counter.insertSiteTodayStatus';
|
||||
|
||||
$u_args = new stdClass();
|
||||
$u_args->site_srl = $site_srl; // /< when inserting a daily row, attempt to inser total rows(where regdate=0) together
|
||||
executeQuery($query_id, $u_args);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ class counterModel extends counter
|
|||
$max = 0;
|
||||
$sum = 0;
|
||||
|
||||
$status = new stdClass();
|
||||
switch($type)
|
||||
{
|
||||
case 'year' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue