mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-17 00:08:17 +03:00
фикс создания блогов и топиков(ссылка,вопрос)
This commit is contained in:
parent
60323107b4
commit
25950a040c
|
@ -184,6 +184,8 @@ class ActionBlog extends Action {
|
|||
$oBlog->setDateAdd(date("Y-m-d H:i:s"));
|
||||
$oBlog->setLimitRatingTopic(getRequest('blog_limit_rating_topic'));
|
||||
$oBlog->setUrl(getRequest('blog_url'));
|
||||
$oBlog->setAvatar(0);
|
||||
$oBlog->setAvatarType(null);
|
||||
/**
|
||||
* Загрузка аватара, делаем ресайзы
|
||||
*/
|
||||
|
|
|
@ -298,6 +298,7 @@ class ActionLink extends Action {
|
|||
$oTopic->setTags(getRequest('topic_tags'));
|
||||
$oTopic->setDateAdd(date("Y-m-d H:i:s"));
|
||||
$oTopic->setUserIp(func_getIp());
|
||||
$oTopic->setCutText(null);
|
||||
/**
|
||||
* Публикуем или сохраняем
|
||||
*/
|
||||
|
|
|
@ -264,6 +264,7 @@ class ActionQuestion extends Action {
|
|||
$oTopic->setTags(getRequest('topic_tags'));
|
||||
$oTopic->setDateAdd(date("Y-m-d H:i:s"));
|
||||
$oTopic->setUserIp(func_getIp());
|
||||
$oTopic->setCutText(null);
|
||||
/**
|
||||
* Варианты ответов
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue