mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51: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
|
|
@ -275,6 +275,7 @@ class commentModel extends comment
|
|||
*/
|
||||
function getCommentCountByDate($date = '', $moduleSrlList = array())
|
||||
{
|
||||
$args = new stdClass();
|
||||
if($date)
|
||||
{
|
||||
$args->regDate = date('Ymd', strtotime($date));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue