News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SimplePortal 1.0 line 345 issue

Started by Geek Mirror, March 26, 2006, 08:04:02 PM

Previous topic - Next topic

Geek Mirror

Hey guys,

I got an issue with the SimplePortal 1.0 on line 345 with the action=forum link from the main portal index. Here's the code below.

2: in_array(): Wrong datatype for second argument
File: /home/geek22/public_html/Sources/BoardIndex.php
Line: 345


I'm no php guru, but I do know some things in php that I can fix and etc, but this line has me confused below.

$is_buddy = in_array($row['ID_MEMBER'], $user_info['buddies']);

Any type of help is greatly appreciated, thanks!
Best Regards, Steve Myers

Geek Mirrors Forum
http://www.geekmirror.com [nofollow]

Geek Mirror

Issue Resolved: Apparently I do have a keen eye after all, I noticed in arguement 2 in_array is suppose to be array

You can delete this topic, thanks :)
Best Regards, Steve Myers

Geek Mirrors Forum
http://www.geekmirror.com [nofollow]

Advertisement: