OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Wrong datatype for second argument (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Wrong datatype for second argument

Amacuse (Visitor)
Posts: 0
graphgraph
User Offline
Wrong datatype for second argument 11 Years, 11 Months ago
Karma: 0  
Hi,

I don't know what happend.

Today when I am showing in the book details, there ist an error message in the head of the details:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /www/htdocs/..../library/administrator/co...ibrary/functions.php on line 320

But I can't find any error on that line?!


Here're the Line 319 - 321:

for($i = 0;$i<count($tempArr);$i++){
if(($tempArr[$i] == $usersgroupid OR in_array($tempArr[$i],$usersgroupid)) || $tempArr[$i]==-2){
//allow access

Has anyone an idea?

Cheers
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Wrong datatype for second argument 11 Years, 11 Months ago
Karma: 101  
hello,

$usersgroupid - must be array

Please check where you take it

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»