mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
eradicate split() in favour of explode()
git-svn-id: http://www.observium.org/svn/observer/trunk@2054 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
function getDates($dayofmonth)
|
||||
{
|
||||
$dayofmonth = zeropad($dayofmonth);
|
||||
list($year, $month) = split('-', date('Y-m'));
|
||||
$year = date('Y');
|
||||
$month = date('m');
|
||||
|
||||
if (date('d') > $dayofmonth)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user