Skip to content

Commit ad78d52

Browse files
committed
Fix wrong var name
1 parent bb029c3 commit ad78d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class-xml-file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function map($p) { return $this->map_attributes($p); }
357357
////////////////////////////////////////////////////////////////////////////////////////////////////////
358358
public static function XMLToDoc($XML)
359359
{
360-
if (!is_string($XML) || $XML == '') throw new Exception("Invalid argument 1 to XMLToDoc. Expected string, got ".print_r($f, true));
360+
if (!is_string($XML) || $XML == '') throw new Exception("Invalid argument 1 to XMLToDoc. Expected string, got ".print_r($XML, true));
361361
$XML = self::make_tidy_string($XML);
362362
$D = new DOMDocument;
363363
$D->loadXML($XML);

0 commit comments

Comments
 (0)