Fixed bugs
This commit is contained in:
parent
927e43c525
commit
8a89842ec6
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class ajaxpm extends ajax_module{
|
|||
}
|
||||
$mybb=$cache->read('mybbconfig');
|
||||
$result = $db->query("SELECT `unreadpms` as `count` FROM `" . $mybb["prefix"] . "users` WHERE `uid`='".$session->userdata['fuid']."'");
|
||||
$row = $db->fetch_array($result, MYSQL_ASSOC);
|
||||
$row = $db->fetch_array($result, $db->ASSOC);
|
||||
if($row["count"]>1){
|
||||
$pmcount=$row["count"];
|
||||
$s="s";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class module_mybbnews extends admin_module{
|
||||
|
||||
function get_info(){
|
||||
$info["name"]="MYBB News";
|
||||
$info["name"]="MyBB News";
|
||||
$info["file"]="mybbnews";
|
||||
$info["author"]="genuineparts";
|
||||
$info["version"]="1.0.2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue