Whenever I commit zone changes, I see the following error in my /var/log/apache2/error.log: PHP Notice: Undefined variable: dbtype in /usr/share/smbind/php/src/include.php on line 360, referer: http://10.252.92.7/smbind/src/record.php?i=2
In the limit function in /usr/share/smbind/php/src/include.php, the scope for $dbtype is not correct. The scope needs to be global, I made the following change to line 353 in include.php:
global $_CONF; global $smarty; global $dbtype;
This eliminates the error.
Resolved in smbind-0.4.8.1.