correction bug 5881, was not possible to import a proces, now you can do it
This commit is contained in:
@@ -771,11 +771,11 @@ class Event extends BaseEvent {
|
||||
function Exists ( $sUid ) {
|
||||
try {
|
||||
$oObj = EventPeer::retrieveByPk($sUid);
|
||||
return (get_class($oObj) == 'Event');
|
||||
return (is_object($oObj) && get_class($oObj) == 'Event');
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
throw($oError);
|
||||
}
|
||||
}
|
||||
} // Event
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user