- Moderated by:
- Support
-
- rank:
-
Professional
- registered:
- December 2002
- Status:
- offline
- last visit:
- 24.08.08
- Posts:
- 1588
Array
(
[listimage] => on
[numlist] => 12
[gallery] => on
[gallerynumitems] => 10
[types] => Array
(
[0] =>
[1] => 1
[2] => 2
)
)
This is how the array looks from printing $_REQUEST('var');
Array
(
[listimage] => on
[numlist] => asd
[gallery] => on
[gallerynumitems] => asd
[types] => Array
)
An this is the dump from pnVarCleanFromInput, notice how it cuts the types array?
Now the strange thing about this is that pnVarCleanFromInput was working ok with this last night and then today it just started to do this... hmmm gremlins? I have noticed that this has happened before when using multidimensional arrays in form data submissions...
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
- rank:
-
Professional
- registered:
- January 2003
- Status:
- offline
- last visit:
- 03.12.08
- Posts:
- 569
Yep, the 0.76x version of this function is not array-safe.
We've added array-safe versions of these functions into the DataUtil class in the 0.8 codeline. Maybe that info can help you out ...
Greetings
R
-
- rank:
-
Freshman
- registered:
- December 2005
- Status:
- offline
- last visit:
- 06.03.08
- Posts:
- 19
Maybe you can post a array-safe version for 0.76x?
CU
rigo
--
Regards
rigo
PetBase :: Haustiermarkt
HorseBase :: Pferdemarkt
