mirror of
https://github.com/openvk/openvk
synced 2024-11-14 02:59:12 +03:00
Ok, i'm retard.
This commit is contained in:
parent
8958fa5821
commit
c91004e2ae
1 changed files with 7 additions and 7 deletions
|
@ -129,13 +129,13 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$user->setCity(empty($this->postParam("city")) ? NULL : $this->postParam("city"));
|
||||
$user->setAddress(empty($this->postParam("address")) ? NULL : $this->postParam("address"));
|
||||
} elseif($_GET['act'] === "interests") {
|
||||
$user->setInterests(empty($this->postParam("interests")) ? NULL : ovk_proc_strtr($this->postParam("interests"), 300));
|
||||
$user->setFav_Music(empty($this->postParam("fav_music")) ? NULL : $this->postParam("fav_music"));
|
||||
$user->setFav_Films(empty($this->postParam("fav_films")) ? NULL : $this->postParam("fav_films"));
|
||||
$user->setFav_Shows(empty($this->postParam("fav_shows")) ? NULL : $this->postParam("fav_shows"));
|
||||
$user->setFav_Books(empty($this->postParam("fav_books")) ? NULL : $this->postParam("fav_books"));
|
||||
$user->setFav_Quote(empty($this->postParam("fav_quote")) ? NULL : $this->postParam("fav_quote"));
|
||||
$user->setAbout(empty($this->postParam("about")) ? NULL : $this->postParam("about"));
|
||||
$user->setInterests(empty($this->postParam("interests")) ? NULL : ovk_proc_strtr($this->postParam("interests"), 300);
|
||||
$user->setFav_Music(empty($this->postParam("fav_music")) ? NULL : ovk_proc_strtr($this->postParam("fav_music"), 300);
|
||||
$user->setFav_Films(empty($this->postParam("fav_films")) ? NULL : ovk_proc_strtr($this->postParam("fav_films"), 300);
|
||||
$user->setFav_Shows(empty($this->postParam("fav_shows")) ? NULL : ovk_proc_strtr($this->postParam("fav_shows"), 300);
|
||||
$user->setFav_Books(empty($this->postParam("fav_books")) ? NULL : ovk_proc_strtr($this->postParam("fav_books"), 300);
|
||||
$user->setFav_Quote(empty($this->postParam("fav_quote")) ? NULL : ovk_proc_strtr($this->postParam("fav_quote"), 300);
|
||||
$user->setAbout(empty($this->postParam("about")) ? NULL : ovk_proc_strtr($this->postParam("about"), 300);
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue