Log message #109259

# At Username Text
# Aug 7th 2008, 09:40 Eddie_CRO right
# Aug 7th 2008, 09:40 moelee and you can just do an if to check it and do some other action
# Aug 7th 2008, 09:39 Eddie_CRO default
# Aug 7th 2008, 09:39 Eddie_CRO aaaaaa
# Aug 7th 2008, 09:39 moelee and that will be default if nothing is passed through url
# Aug 7th 2008, 09:39 TommyO function search($param = null)
# Aug 7th 2008, 09:39 moelee just set the parameter = null
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO so, where were we
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO that's no go.
# Aug 7th 2008, 09:39 Eddie_CRO changed link
# Aug 7th 2008, 09:39 Eddie_CRO ah, i know
# Aug 7th 2008, 09:39 moelee alright
# Aug 7th 2008, 09:39 moelee haha
# Aug 7th 2008, 09:39 Eddie_CRO )
# Aug 7th 2008, 09:39 Eddie_CRO don't know how
# Aug 7th 2008, 09:39 moelee so just set param default = null
# Aug 7th 2008, 09:39 Eddie_CRO i did something and i don't get it any more
# Aug 7th 2008, 09:38 Eddie_CRO oh
# Aug 7th 2008, 09:38 moelee function search($param)
# Aug 7th 2008, 09:38 moelee will pass apples into $param
# Aug 7th 2008, 09:38 Eddie_CRO yes, but i get warning
# Aug 7th 2008, 09:38 moelee http://blah.com/search/apples
# Aug 7th 2008, 09:37 moelee i.e.
# Aug 7th 2008, 09:37 Eddie_CRO but
# Aug 7th 2008, 09:37 moelee well if it is passed through the address bar, it still is passed through the function
# Aug 7th 2008, 09:37 Eddie_CRO i have it defined function search($parameter)
# Aug 7th 2008, 09:37 Eddie_CRO \/search for example
# Aug 7th 2008, 09:37 moelee hm
# Aug 7th 2008, 09:37 Eddie_CRO no, from address bar, through link :)
# Aug 7th 2008, 09:37 moelee function action($thisvar = null)
# Aug 7th 2008, 09:36 Eddie_CRO and no get warning :)
# Aug 7th 2008, 09:36 moelee $var = null
# Aug 7th 2008, 09:36 Eddie_CRO one easy question. i get "Missing argument 1 for..." warning when calling action that has defined parameter. How to call it for that parameter to be null?
# Aug 7th 2008, 09:36 moelee how do you make the aro reflect the parent_id in the group model?
# Aug 7th 2008, 09:30 nymacro don't mind me
# Aug 7th 2008, 09:30 nymacro I'm silly
# Aug 7th 2008, 09:29 nymacro ohwait
# Aug 7th 2008, 09:29 TommyO ammadsaleem: what is the nature of this 'function'? are you sure it belongs in the controller if you intend on calling it from the view? sure you need to call it from the view and not have it pass values in from the controller?
# Aug 7th 2008, 09:29 nymacro would there be any reason Auth is doing a MD5 when i create a record, but when I modify an existing record it just puts it plain-text?