Hello, I’m having a little trouble with the $EXT->end_script variable in the ‘submit_new_entry_start’ hook. In it I’m setting the variable like so:
global $EXT;
$EXT->end_script = true;
However in cp.publish.php when the extension is returned:
$edata = $EXT->call_extension('submit_new_entry_start');
if ($EXT->end_script === TRUE) return;
end_script is never filled. It always comes back as a bool(false) when var_dump()ed. What makes it even stranger is that I can set $EXT->dummy_var = ‘hello’; in my extension and when I var_dump() it in cp.publish.php it comes out as ‘hello’, as you would expect.
I only have one extension enabled, so it’s not conflicting with something. Has anyone else had this problem?
