index 5fb06268f92e79e1656e947e41c96c3dfc34ed9f..1ba29747e639cb4c9d68043368e6c10a880e47a3 100644 (file)
public function __construct($s_title,$s_message,$i_type)
{
global $config;
+
+ if(empty($s_message)) return;
if(!in_array($i_type,array(INFO_DIALOG,WARNING_DIALOG,ERROR_DIALOG,CONFIRM_DIALOG,FATAL_ERROR_DIALOG))){
trigger_error("Invalid msg_dialog type.");