Rick this is what is on line 2056 from the old file:

$sth = $dbh->do_placeholder_query($query,array($Uid),__LINE__,__FILE__);

The line that I changed was on line 2047 which had this before I changed it to what you said to do:

if (!$Uid || $Uid == "deleted") $Uid = 1;

and I changed the line to:

if (!$Uid || $Uid == "deleted") $Uid = 1;