Menu

#6 "Cannot re-assign $this" bug fix

open
nobody
None
5
2005-07-19
2005-07-19
Anonymous
No

Fatal error: Cannot re-assign $this in
/var/htdocs/inventario/admin_peripheral_types.php on
line 47

Fatal error: Cannot re-assign $this in
/var/htdocs/inventario/admin_software_types.php on line 67

Just modify line 47 (67) and foloowing to not use the
reserverd keyword "this" !

// $this = mysql_fetch_array($result);

$th = mysql_fetch_array($result);

$type_id = $th["id"];
$strName = $th["Name"];
$strManufacturer = $th["Maker"];
$strVersion = $th["Version"];
$bolOS = $th["operatingSystem"];
$bolMovable = $th["canBeMoved"];
$strLicense = $th["licenseType"];
$intLicenses = $th["numLicenses"];

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.