mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-05 14:01:32 +00:00
triggers: set missing default time values (#147)
This commit is contained in:
parent
06078c9f2a
commit
cea296384a
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ class SiteController extends CommonController
|
|||
$rule->notifycmd = $_POST['notifycmd'];
|
||||
$rule->description = $_POST['description'];
|
||||
$rule->enabled = 1;
|
||||
$rule->lastchecked = 0; // time
|
||||
$rule->lasttriggered = 0;
|
||||
|
||||
$words = explode(' ', $rule->conditiontype);
|
||||
if (count($words) < 2) {
|
||||
|
|
Loading…
Add table
Reference in a new issue