changed the uploaded photo status to not active

This commit is contained in:
sajjadcb 2014-02-20 10:21:27 +00:00
parent c3bdfe1ace
commit f7fc990c56

View file

@ -48,6 +48,7 @@ switch($mode)
$_POST['photo_description'] = genTags(str_replace(array('_','-'),' ',$_POST['photo_description']));
$_POST['photo_tags'] = genTags(str_replace(array(' ','_','-'),', ',$_POST['photo_tags']));
$_POST['server_url'] = mysql_clean($_POST['server_url']);
$_POST['active'] = 'no';
$_POST['folder'] = str_replace('..','',mysql_clean($_POST['folder']));
$insert_id = $cbphoto->insert_photo();