• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scaffolding

#5
[eluser]Xikeon[/eluser]
[quote author="_mike_" date="1183767099"]Hey Xikeon,

Quote:I’ve got the trigger on “admin”.

I assume this is how you're calling your scaffold:

Quote:http://yourhost/user/admin

In the following statement I suspect one of the two evaluations returns FALSE, 0 or a negative value:
Code:
if( $this->userlib->logged_in( ) && $this->userlib->getData( $this->session->userdata( 'username' ), 'status' ) == 3 )

Try to output their value on screen and see if they are consistent with what you expected.[/quote]

Thanks,
I have tested it and for some reason the second check doesn't work right, which I used before.

I'll see whats wrong with it then, thansk again Smile


Messages In This Thread
Scaffolding - by El Forum - 07-05-2007, 05:12 PM
Scaffolding - by El Forum - 07-06-2007, 03:36 AM
Scaffolding - by El Forum - 07-06-2007, 04:35 AM
Scaffolding - by El Forum - 07-06-2007, 01:11 PM
Scaffolding - by El Forum - 07-06-2007, 04:39 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.