Skip to content
Permalink
Browse files

Fix theme suggestion too long issue

  • Loading branch information...
zwrawr committed May 21, 2019
1 parent 08e34aa commit 3eadc2032a5a7372556eb2dd0cb422cbbeeb5b7a
Showing with 2 additions and 0 deletions.
  1. +2 −0 sandbox/simulator/model_default
@@ -381,6 +381,8 @@ function UserVoteOnTheme(&$user, $phase)
for($i=0;$i<$suggest_count;$i++)
{
$suggestion = GenerateRandomPhrase(1,4);
$suggestion = (strlen($suggestion) > 63) ? substr($string,0,60).'...' : $suggestion;

Verbose("Suggesting theme $suggestion");
if(null === ApiThemeIdeaAdd($user, $event_nodeid, $suggestion))
{

0 comments on commit 3eadc20

Please sign in to comment.
You can’t perform that action at this time.