Author: matt
Date: 2011-08-03 06:11:09 -0700 (Wed, 03 Aug 2011)
New Revision: 631
Log:
Crude attempt to fix by a man who doesn't know php.
Modified:
trunk/phplib/db-str.php
Modified: trunk/phplib/db-str.php
===================================================================
--- trunk/phplib/db-str.php 2011-08-03 13:03:31 UTC (rev 630)
+++ trunk/phplib/db-str.php 2011-08-03 13:11:09 UTC (rev 631)
@@ -500,7 +500,7 @@
$row = db_next($result);
$this->id = $row["id"];
- $this->master_id = 0; //$row["master_id"];
+ $this->master_id = $row["master_id"];
$this->link_id = $row["link_id"];
$this->is_published = $row["is_published"];
$this->status = $row["status"];
@@ -1005,13 +1005,15 @@
if ($this->master_id > 0)
{
- $temp = new str($this->master_id);
+ //$temp = new str($this->master_id);
- if ($temp->id != $this->master_id)
- {
- $this->master_id_valid = FALSE;
- $valid = FALSE;
- }
+ //if ($temp->id != $this->master_id)
+ //{
+ //$this->master_id_valid = FALSE;
+ //$valid = FALSE;
+ //}
+ // Matt: I disabled the code above as it can lead to an infinte loop and
hange the page
+ $this->master_id_valid = TRUE;
}
else if ($this->master_id < 0)
{
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit