Commit 68154383 authored by slopez's avatar slopez
Browse files

weekmail

parent 94997c1f
......@@ -108,10 +108,11 @@ if($_REQUEST['action']
&& $GLOBALS["svalid_call"]
&& $weekmail->load_first_not_sent())
{
print_r($weekmail);
$_REQUEST['page']='custom';
if(is_null($weekmail->id_header))
$site->add_contents(new error('','Aucun header de défini !'));
elseif(is_null($weekmail->titre))
elseif(is_null($weekmail->titre) || empty($weekmail->titre))
$site->add_contents(new error('','Aucun titre de défini !'));
elseif(is_null($weekmail->introduction) || empty($weekmail->introduction))
$site->add_contents(new error('','Aucune introduction de définie !'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment