Linter Bugfixes
After #190 merge php linter check was missing * Correct some typo code
This commit is contained in:
parent
ddeefbde63
commit
6e1a021ced
|
@ -30,7 +30,7 @@ $fields = array (
|
||||||
getFields($fields);
|
getFields($fields);
|
||||||
|
|
||||||
if ($mail->undelete($mail_id)) {
|
if ($mail->undelete($mail_id)) {
|
||||||
$email = $mail->is_it_my_mail($mail_id)
|
$email = $mail->is_it_my_mail($mail_id);
|
||||||
$msg->raise("INFO", "mail", _("The email %s has been undeleted"), $email);
|
$msg->raise("INFO", "mail", _("The email %s has been undeleted"), $email);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
require_once("../class/config.php");
|
require_once("../class/config.php");
|
||||||
require_once("head.php");
|
require_once("head.php");
|
||||||
$msg->raise("INFO", "mail", _("There is currently no webmail configured. If you need one, contact your server administrator");
|
$msg->raise("INFO", "mail", _("There is currently no webmail configured. If you need one, contact your server administrator"));
|
||||||
|
|
||||||
include("index.php");
|
include("index.php");
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,8 @@ else
|
||||||
{
|
{
|
||||||
$api_data = $piwik->site_set_user_right($site_id, $user_name, $right);
|
$api_data = $piwik->site_set_user_right($site_id, $user_name, $right);
|
||||||
if ($api_data === FALSE)
|
if ($api_data === FALSE)
|
||||||
$msg->raise("ERROR", "piwik", $api_data->message)
|
$msg->raise("ERROR", "piwik", $api_data->message);
|
||||||
|
$msg->raise("ERROR", "piwik", $api_data->message);
|
||||||
else
|
else
|
||||||
$msg->raise("INFO", "piwik", _('success'));
|
$msg->raise("INFO", "piwik", _('success'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue