1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-17 00:08:17 +03:00

фикс избранного

This commit is contained in:
Mzhelskiy Maxim 2008-11-03 15:50:04 +00:00
parent b8ecff0cd6
commit b19286369d
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,7 @@ if ($oEngine->User_IsAuthorization()) {
$oFavouriteTopicNew=new TopicEntity_FavouriteTopic();
$oFavouriteTopicNew->setTopicId($oTopic->getId());
$oFavouriteTopicNew->setUserId($oUserCurrent->getId());
$oFavouriteTopicNew->setTopicPublish($oTopic->getPublish());
if ($oEngine->Topic_AddFavouriteTopic($oFavouriteTopicNew)) {
$bStateError=false;
$sMsgTitle='Поздравляем!';

View file

@ -16,7 +16,7 @@
*/
/**
* Добавление/удаление топика в избранное
* Добавление/удаление друзей
*/
set_include_path(get_include_path().PATH_SEPARATOR.dirname(dirname(dirname(__FILE__))));