PrimeraApi improved, some code cosmetics:
[core.git] / inc / classes / main / database / wrapper / class_UserDatabaseWrapper.php
index dd6e1abe0343532f32b06f462cb458312ab1e773..557ab085dfcf104ac3c5b15feb265d019e6d6ae0 100644 (file)
@@ -118,7 +118,7 @@ class UserDatabaseWrapper extends BaseDatabaseWrapper implements ManageableAccou
                        // Is it still null?
                        if (is_null($searchInstance)) {
                                // Throw an exception here
-                               throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER);
+                               throw new NullPointerException($updateInstance, self::EXCEPTION_IS_NULL_POINTER);
                        } // END - if
                } // END - if