Michael-
Quote:
Originally Posted by Michael Morris
check your conditionals
|
okay, I found *where* its not working:
PHP Code:
eval( '$newsflash = "' .fetch_template ('newsflash_all' ) . '";' );
if (empty( $newsflash )) //If it's empty we'll get our usergroup newsflashs
{
$newsflash = 'test-true';
}
The first statement will pass the contents of 'newsflash_all' properly.
The
If statement tests false--with 'newsflash_all' as empty as I can make it.
I don't know enough php to know if this is a mal-formed statement, or something else.
--don