Is an error in OssnMessages component?

Ondrej Janicko Posted in General Discussion 7 years ago

I am not sure but it seems to me that in component OssnMessages is an error.

In ossn_com.php in function

function ossnmessagespage($pages) {
if(!ossnisLoggedin()) {
ossn
error_page();
}
$OssnMessages = new OssnMessages;
$page = $pages[0];
if(empty($page)) {
$page = 'messages';
}
switch($page) {
case 'message':
$username = $pages[1];

it seems to me that there should be $page='message' because later there is switch to case 'message'.

I only thinking. Is it wrong?

Replies
Indonesian Arsalan Shah Replied 7 years ago

The messages is correct by default it shows the recent last message on the messages page.

Dutch Tunzxywalex Oyewale Replied 7 years ago

Try it