Hi All,

I am having the exact problem as mentioned in the below post. It says
the ticket has been resolved however I have the latest copy and the
same issue is happening.

Anyone know the fit for this?

Thanks

ISSUE:
===================================
I have a like-field with encoding turned on:
Model:
var $filterArgs = array(
array('name' => 'name', 'type' => 'like')
);

Controller:
var $presetVars = array(
array('field' => 'name', 'type' => 'value', 'encode' => true)
);

And recieve the following notice when submitting the search form with
an empty "name" field:
Undefined index: name [APP/plugins/search/controllers/components/
prg.php, line 76]

If I turn off encoding no notice appears.

==================
SOURCE: 
http://cakedc.lighthouseapp.com/projects/59618/tickets/4-php-notice-on-like-field-with-encodingtrue

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to