Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16769 | Rev 17002 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16769 Rev 16998
Línea 201... Línea 201...
201
                $dt = \DateTime::createFromFormat('d/m/Y', $post->date);
201
                $dt = \DateTime::createFromFormat('d/m/Y', $post->date);
202
                $post->date = $dt->format('Y-m-d');
202
                $post->date = $dt->format('Y-m-d');
203
                $post->network_id = $currentUser->network_id;
203
                $post->network_id = $currentUser->network_id;
204
                $post->image = '';
204
                $post->image = '';
205
                $post->file  = '';
205
                $post->file  = '';
-
 
206
                $post->user_id = $currentUser->id;
Línea 206... Línea 207...
206
 
207
 
207
 
208
 
208
                $postMapper = PostMapper::getInstance($this->adapter);
209
                $postMapper = PostMapper::getInstance($this->adapter);