From 90cf7a0ce17f84f5d484904691956a1f784846ee Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 3 Dec 2017 19:16:07 +0400 Subject: Align columns --- lib.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib.php') diff --git a/lib.php b/lib.php index fad6e22..7856667 100644 --- a/lib.php +++ b/lib.php @@ -68,12 +68,12 @@ function tool_managertokens_create_record($options) { global $DB; $token = new stdClass(); - $token->enabled = !empty($options->enabled) ? boolval($options->enabled) : false; - $token->limited = !empty($options->limited) ? intval($options->limited) : 0; - $token->targetid = !empty($options->targetid) ? intval($options->targetid) : 0; - $token->targettype = !empty($options->targettype) ? strval($options->targettype) : "null"; + $token->enabled = !empty($options->enabled) ? boolval($options->enabled) : false; + $token->limited = !empty($options->limited) ? intval($options->limited) : 0; + $token->targetid = !empty($options->targetid) ? intval($options->targetid) : 0; + $token->targettype = !empty($options->targettype) ? strval($options->targettype) : "null"; $token->timelimited = !empty($options->timelimited) ? intval($options->timelimited) : 0; - $token->token = !empty($options->token) ? strval($options->token) : generate_password(12); + $token->token = !empty($options->token) ? strval($options->token) : generate_password(12); $token->timecreated = time(); $token->timemodified = time(); -- cgit v1.2.3