Menu

#1093 tcpdf.php lines 17272 and 18457 contain $$var

v1.0_(example)
open
None
1
2015-12-11
2015-10-25
Liam Vans
No

tcpdf.php lines 17272 and 18457 contain a variable with doulbe dollarsign, while it should be a single one. See code below.

                    // restore previous values
                    foreach ($this_method_vars as $vkey => $vval) {
                        **$$**vkey = $vval;
                    }

Discussion

  • Liam Vans

    Liam Vans - 2015-10-25

    Mind the value between the **'s

     
  • Mathieu Masseboeuf

    That's normal, $vkey holds the variable name to restore - the function does what's expected (restore previous values)

     

Log in to post a comment.