vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=242064

problems with array_search()
by Antivirus
07 May 2010 20:32

Ok this is driving me nuts... all common sense tells me this should work however it does not.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

By all accounts, 'Tiger' should be replaced with 'TigerXXX'... shouldn't it? This is what I am expecting but it's not working out. Seems that array_search() is returning false.

Anyone know why?

Deceptor 13 May 2010 14:52

You're array isn't exactly a valid array, use:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Antivirus 13 May 2010 15:35

My bad I didn't properly write the array. It is actually Valid as you show since it's created by using explode().


All times are GMT. The time now is 06:19.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.