Skip to content
This repository
Browse code

- Simple messaging module fix as pointed out by Jiyath. Issue #124.

  • Loading branch information...
commit 43d908dd2dd2a413ee7599a3afab41da4a992aa6 1 parent 68047a0
Eric Heikkinen yankidank authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 modules/simple_messaging/simple_messaging_main.php
6 modules/simple_messaging/simple_messaging_main.php
@@ -86,7 +86,7 @@ function simple_messaging_showpage(){
86 86 $m = new KMessaging(true);
87 87 foreach($message as $key => $value) {
88 88 if ($value == "delete") {
89   - $result = $m->DeleteMessege($key,2);
  89 + $result = $m->DeleteMessage($key,2);
90 90 // $db->query('DELETE FROM `' . table_messages . '` WHERE `idMsg` = "'.$key.'"');
91 91 }
92 92 }
@@ -147,7 +147,7 @@ function simple_messaging_showpage(){
147 147 $m = new KMessaging(true);
148 148 foreach($message as $key => $value) {
149 149 if ($value == "delete") {
150   - $result = $m->DeleteMessege($key,1);
  150 + $result = $m->DeleteMessage($key,1);
151 151 }
152 152 }
153 153
@@ -312,7 +312,7 @@ function simple_messaging_showpage(){
312 312
313 313 $array = messaging_get_message_details($msg_id);
314 314 $message = new KMessaging(true);
315   - $result = $message->DeleteMessege($msg_id);
  315 + $result = $message->DeleteMessage($msg_id);
316 316 header('Location: ' . URL_simple_messaging_inbox);
317 317 die();
318 318

0 comments on commit 43d908d

Please sign in to comment.
Something went wrong with that request. Please try again.