File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/Chamilo/UserBundle/Entity Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ function activate_end_date() {
241241 </script> ' ;
242242}
243243
244- $ htmlHeadXtra [] = '<script> ' .$ learnPath ->get_js_dropdown_array ()." </sript> " ;
244+ $ htmlHeadXtra [] = '<script> ' .$ learnPath ->get_js_dropdown_array ().' </script> ' ;
245245
246246$ defaults ['publicated_on ' ] = !empty ($ publicated_on ) && $ publicated_on !== '0000-00-00 00:00:00 '
247247 ? api_get_local_time ($ publicated_on )
Original file line number Diff line number Diff line change @@ -2586,4 +2586,14 @@ public function setCommentedUserSkills($commentedUserSkills)
25862586
25872587 return $ this ;
25882588 }
2589+
2590+ /**
2591+ * @return string
2592+ */
2593+ public function getPictureLegacy ()
2594+ {
2595+ $ id = $ this ->id ;
2596+
2597+ return 'users/ ' .substr ((string ) $ id , 0 , 1 ).'/ ' .$ id .'/ ' .'small_ ' .$ this ->getPictureUri ();
2598+ }
25892599}
You can’t perform that action at this time.
0 commit comments