DataObjects/Events.php
authorEdward <edward@roojs.com>
Tue, 14 Jul 2015 07:37:40 +0000 (15:37 +0800)
committerEdward <edward@roojs.com>
Tue, 14 Jul 2015 07:37:40 +0000 (15:37 +0800)
DataObjects/Events.php

index 6d1ce5f..0338ff5 100644 (file)
@@ -643,7 +643,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
                         continue;
                     }
 
-                    $affects[$tbl . '.' . $col] = $table->tableName() . '.' . (empty($pk)) ? 'id' : $pk[0];
+                    $affects[$tbl . '.' . $col] = $table->tableName() . '.' . ((empty($pk)) ? 'id' : $pk[0]);
                 }
             }