! -> Note
$ -> Affected files
+04-Aug-2010 Joe Hung
++ Added an extra parameter to db_export in maintenance_db.inc for new COAs
+$ /admin/db/maintenance_db.inc
+# Link error in items.php for Pictures
+$ /inventory/manage/items.php
+
01-Aug-2010 Joe Hunt
+ Added Email link when updating documents.
$ /sales/credit_note_entry.php
// generates a dump of $db database
// $drop and $zip tell if to include the drop table statement or dry to pack
-function db_export($conn, $filename, $zip='no', $comment='', $tbpref = TB_PREF)
+function db_export($conn, $filename, $zip='no', $comment='', $tbpref = TB_PREF, $no_default=false)
{
global $app_title, $version, $power_url, $path_to_root;
$out.="### Structure of table `".$tablename."` ###\n\n";
$out.="DROP TABLE IF EXISTS `".$tablename."`;\n\n";
+ if ($no_default && ($def_pos = strpos($table_sql[$tablename], "DEFAULT CHARSET")) > 0)
+ $table_sql[$tablename] = substr($table_sql[$tablename], 0, $def_pos);
$out.=$table_sql[$tablename];
// add auto_increment value
{
// 31/08/08 - rand() call is necessary here to avoid caching problems. Thanks to Peter D.
$stock_img_link .= "<img id='item_img' alt = '[".$_POST['NewStockID'].".jpg".
- "]' src='".company_path().'images/'.item_img_name($_POST['NewStockID']).
+ "]' src='".company_path().'/images/'.item_img_name($_POST['NewStockID']).
".jpg?nocache=".rand()."'"." height='$pic_height' border='0'>";
$check_remove_image = true;
}
//
// Internal data-source version compatibility check. Do not change.
-$core_version = "2.3rc";
+$core_version = "2.3RC1";
// application version - can be set also in config.php
if (!isset($version))