Path : /srv/www/vhosts/marevva/crossroadsfoundation/admin/ |
Current File : /srv/www/vhosts/marevva/crossroadsfoundation/admin/admin-news-before-save.php |
<?php // check if root comment exists if ( $_POST['commentID'] == 0 ) { $this->getDb()->insertItem( 'comment', array() ); $newCommentID = $this->getDb()->getLastID(); $_POST['commentID'] = $newCommentID; } ?>