mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-24 17:27:55 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
$lang["common_address_1"] = "Adresse 1";
|
||||
$lang["common_address_2"] = "Adresse 2";
|
||||
$lang["common_city"] = "Stadt";
|
||||
$lang["common_close"] = "Close";
|
||||
$lang["common_close"] = "Schließen";
|
||||
$lang["common_comments"] = "Kommentare";
|
||||
$lang["common_common"] = "Allgemein";
|
||||
$lang["common_confirm_search"] = "Sie haben einen oder mehrere Zeilen gewählt. Nach der Verarbeitung werden diese nicht mehr selektiert sein. Wollen Sie die Suche dennoch verarbeiten?";
|
||||
|
||||
1
application/language/sv/bootstrap_tables_lang.php
Normal file
1
application/language/sv/bootstrap_tables_lang.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php
|
||||
@@ -33,16 +33,25 @@ class Email_lib
|
||||
*/
|
||||
public function sendEmail($to, $subject, $message, $attachment = NULL)
|
||||
{
|
||||
$this->CI->email->from($this->CI->config->item('email'), $this->CI->config->item('company'));
|
||||
$this->CI->email->to($to);
|
||||
$this->CI->email->subject($subject);
|
||||
$this->CI->email->message($message);
|
||||
$email = $this->CI->email;
|
||||
|
||||
$email->from($this->CI->config->item('email'), $this->CI->config->item('company'));
|
||||
$email->to($to);
|
||||
$email->subject($subject);
|
||||
$email->message($message);
|
||||
if( !empty($attachment) )
|
||||
{
|
||||
$this->CI->email->attach($attachment);
|
||||
$email->attach($attachment);
|
||||
}
|
||||
|
||||
return $this->CI->email->send();
|
||||
$result = $email->send();
|
||||
|
||||
if(!$result)
|
||||
{
|
||||
error_log($email->print_debugger());
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user