This topic was marked solved by Nao, on April 30th, 2013, 05:58 PM

Nao

  • Dadman with a boy
  • Posts: 16,078
Re: 'Like' Disappears When Clicked
« Reply #15, on May 11th, 2013, 04:27 PM »
This, then..?

Code: [Select]
echo ($ret = call_user_func_array($callback, $args)) ? $ret : '';

Best I can do to make it... 'readable'.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: 'Like' Disappears When Clicked
« Reply #16, on May 11th, 2013, 06:28 PM »
That's less readable than mine but since you're insistent on a one liner, go with your first choice.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,078

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: 'Like' Disappears When Clicked
« Reply #18, on May 11th, 2013, 08:24 PM »
Really up to you.

* Arantor 's brain is all tired having spent hours going through bank account information for accounting purposes >_<