Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2e9c98d3

Přidáno uživatelem David Raška před asi 9 roky(ů)

refs #908: Fixed brutal error (creating controller in controller)

Zobrazit rozdíly:

application/controllers/contacts.php
{
try
{
$this->send_verify_message($contact_model->id);
self::send_verify_message($contact_model->id);
status::success('Verification message have been successfully sent.');
}
catch (Exception $ex)
......
{
try
{
$this->send_verify_message($contact_id);
self::send_verify_message($contact_id);
status::success('Verification message have been successfully sent.');
}
catch (Exception $ex)
......
{
try
{
$this->send_verify_message($contact_id);
self::send_verify_message($contact_id);
status::success('Verification message have been successfully sent.');
}
catch (Exception $ex)
......
* @param mixed $user_id
* @param mixed $contact_id
*/
public function send_verify_message($contact_id)
public static function send_verify_message($contact_id)
{
$contact_model = new Contact_Model($contact_id);
$message_model = new Message_Model();

Také k dispozici: Unified diff