Advertisement:

Author Topic: Converting poll options  (Read 2618 times)

Offline Bluedreams

  • Newbie
  • *
  • Posts: 7
Converting poll options
« on: June 09, 2016, 06:41:44 PM »
Bump, this still needs changed in the converter itself:

Here is the diff with my working version:

Code: [Select]
< 'label' => substr(addslashes($options[$i]), 1, 255),
< 'votes' => (is_numeric($votes[$i]) ? $votes[$i] : 0),
---
> 'label' => substr(addslashes($options[$i]), 0, 255),
> 'votes' => (int) $votes[$i],

Online Irisado

  • Doc Coordinator
  • SMF Hero
  • *
  • Posts: 9,009
  • Soñando debajo del arco iris
Re: Converting poll options
« Reply #1 on: June 10, 2016, 05:59:25 AM »
Topic split.  It's much better to start a new topic, rather than to bump really old topics like that one.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

Offline Bluedreams

  • Newbie
  • *
  • Posts: 7
Re: Converting poll options
« Reply #2 on: June 13, 2016, 09:15:21 AM »
Except without the context of the rest of the topic they will have no idea what I'm talking about!