Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 43d908dd2dd2a413ee7599a3afab41da4a992aa6 1 parent 68047a0
@yankidank yankidank authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 modules/simple_messaging/simple_messaging_main.php
View
6 modules/simple_messaging/simple_messaging_main.php
@@ -86,7 +86,7 @@ function simple_messaging_showpage(){
$m = new KMessaging(true);
foreach($message as $key => $value) {
if ($value == "delete") {
- $result = $m->DeleteMessege($key,2);
+ $result = $m->DeleteMessage($key,2);
// $db->query('DELETE FROM `' . table_messages . '` WHERE `idMsg` = "'.$key.'"');
}
}
@@ -147,7 +147,7 @@ function simple_messaging_showpage(){
$m = new KMessaging(true);
foreach($message as $key => $value) {
if ($value == "delete") {
- $result = $m->DeleteMessege($key,1);
+ $result = $m->DeleteMessage($key,1);
}
}
@@ -312,7 +312,7 @@ function simple_messaging_showpage(){
$array = messaging_get_message_details($msg_id);
$message = new KMessaging(true);
- $result = $message->DeleteMessege($msg_id);
+ $result = $message->DeleteMessage($msg_id);
header('Location: ' . URL_simple_messaging_inbox);
die();
Please sign in to comment.
Something went wrong with that request. Please try again.