summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/class/table.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/class/table.class.php b/app/class/table.class.php
index ac21aaf..c547e43 100644
--- a/app/class/table.class.php
+++ b/app/class/table.class.php
@@ -127,7 +127,10 @@ abstract class table
foreach ($flds as $fld)
{
if (!isset($this->$fld))
+ {
+ $this->$fld = "";
continue;
+ }
$fld = database::esc($fld);
$fldstr .= $fld . ", ";