Since tokens are now in core (well...a good chunk of it, anyways), use token_replace instead of token_replace_multiple which is also no longer a part of the token module in case the user uses it.

Comments

Anticosti’s picture

Thanks for the patch BTMash!!!
Altough, I'd wish I could apply it...

Curious.. Can't apply this patch...
With or without dry run:

Here's the ouput:
///////////////////////////////////////////////////////////////////////////////////
patch -p0 --dry-run < token_replace_function_replacement-btmash-1.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/includes/broadcast.inc b/includes/broadcast.inc
|index 8884588..50043e5 100644
|--- a/includes/broadcast.inc
|+++ b/includes/broadcast.inc
--------------------------
File to patch:
///////////////////////////////////////////////////////////////////////////////////

Thanks!

ezra-g’s picture

Anticosti, Drupal.org has switched to git, and the steps for applying patches have change. Please see http://drupal.org/patch/apply

sanguis’s picture

Status: Active » Reviewed & tested by the community

worked for me

rfay’s picture

Priority: Normal » Critical

This is a critical, as each one of those token_replace_multiple() calls is a fatal.

thejoker-1’s picture

works for me too

btmash’s picture

Is there any status on this patch? Its been reviewed and tested and the module doesn't work without it? Are there any other steps necessary to get patches for the 7.x branch into the project?

ezra-g’s picture

No - I apologize for my relative inactivity recently as a co-maintainer. I will commit this tonight!

ezra-g’s picture

Status: Reviewed & tested by the community » Fixed

This is committed. Thanks!

ezra-g’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.